C# Class RegexParser.Matchers.BaseMatcher

Mostrar archivo Open project: aistrate/RegexParser

Public Methods

Method Description
CreateMatcher ( AlgorithmType algorithmType, string patternText, RegexOptions options ) : BaseMatcher
CreateMatcher ( AlgorithmType algorithmType, string patternText, RegexOptionsEx options ) : BaseMatcher
GetMatches ( string inputText ) : IEnumerable

Protected Methods

Method Description
BaseMatcher ( string patternText, RegexOptionsEx options ) : System
Parse ( ArrayConsList consList, int afterLastMatchIndex ) : Match2>.Result
TransformAST ( BasePattern pattern ) : BasePattern

Method Details

BaseMatcher() protected method

protected BaseMatcher ( string patternText, RegexOptionsEx options ) : System
patternText string
options RegexOptionsEx
return System

CreateMatcher() public static method

public static CreateMatcher ( AlgorithmType algorithmType, string patternText, RegexOptions options ) : BaseMatcher
algorithmType AlgorithmType
patternText string
options RegexOptions
return BaseMatcher

CreateMatcher() public static method

public static CreateMatcher ( AlgorithmType algorithmType, string patternText, RegexOptionsEx options ) : BaseMatcher
algorithmType AlgorithmType
patternText string
options RegexOptionsEx
return BaseMatcher

GetMatches() public method

public GetMatches ( string inputText ) : IEnumerable
inputText string
return IEnumerable

Parse() protected abstract method

protected abstract Parse ( ArrayConsList consList, int afterLastMatchIndex ) : Match2>.Result
consList ArrayConsList
afterLastMatchIndex int
return Match2>.Result

TransformAST() protected method

protected TransformAST ( BasePattern pattern ) : BasePattern
pattern RegexParser.Patterns.BasePattern
return RegexParser.Patterns.BasePattern