Skip to content

sharedlibrarycoreinterfaces IParserPatternMatcher

RaidMax edited this page May 21, 2023 · 1 revision

IParserPatternMatcher Public interface

Description

defines the capabilities of a parser pattern

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IParserPatternMatcher[[IParserPatternMatcher]]
  class SharedLibraryCore.Interfaces.IParserPatternMatcher interfaceStyle;
  end
Loading

Members

Methods

Public methods

Returns Name
void Compile(string pattern)
compiles the pattern to be used for matching
IMatchResult Match(string input)
converts input string into pattern groups

Details

Summary

defines the capabilities of a parser pattern

Methods

Match

Source code

public IMatchResult Match(string input)
Arguments
Type Name Description
string input input string
Summary

converts input string into pattern groups

Returns

group matches

Compile

Source code

public void Compile(string pattern)
Arguments
Type Name Description
string pattern
Summary

compiles the pattern to be used for matching

Generated with ModularDoc

Clone this wiki locally