C# Class RegexParser.Matchers.BacktrackingMatcher

Inheritance: BaseMatcher
Mostra file Open project: aistrate/RegexParser

Public Methods

Method Description
BacktrackingMatcher ( string patternText, RegexOptionsEx options ) : System

Protected Methods

Method Description
Parse ( ArrayConsList consList, int afterLastMatchIndex ) : Match2>.Result
TransformAST ( BasePattern pattern ) : BasePattern

Private Methods

Method Description
doesAnchorMatch ( AnchorType anchorType, ArrayConsList currentPos, int afterLastMatchIndex ) : bool
isWordBoundary ( ArrayConsList currentPos ) : bool
parseChar ( int>.Result partialResult, bool>.Func isMatch ) : int>.Result
unwindEmptyFrames ( StackFrame callStack ) : StackFrame

Method Details

BacktrackingMatcher() public method

public BacktrackingMatcher ( string patternText, RegexOptionsEx options ) : System
patternText string
options RegexOptionsEx
return System

Parse() protected method

protected 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