C# Class Alsing.Text.TokenTree

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
AddPattern ( IPatternMatcher matcher, bool caseSensitive, bool needSeparators, object tags ) : void
AddPattern ( string prefix, IPatternMatcher matcher, bool caseSensitive, bool needSeparators, object tags ) : void
AddToken ( string text, bool caseSensitive, bool needSeparators, object tags ) : void
Match ( string text, int startIndex ) : MatchResult
TokenTree ( ) : System

Private Methods

Method Description
AddCaseInsensitiveToken ( string text, bool needSeparators, object tags ) : void
AddCaseSensitiveToken ( string text, bool needSeparators, object tags ) : void
AddPatternWithCaseInsensitivePrefix ( string prefix, IPatternMatcher matcher, bool needSeparators, object tags ) : void
AddPatternWithCaseSensitivePrefix ( string prefix, IPatternMatcher matcher, bool needSeparators, object tags ) : void
AddPatternWithoutPrefix ( IPatternMatcher matcher, bool caseSensitive, bool needSeparators, object tags ) : void

Method Details

AddPattern() public method

public AddPattern ( IPatternMatcher matcher, bool caseSensitive, bool needSeparators, object tags ) : void
matcher IPatternMatcher
caseSensitive bool
needSeparators bool
tags object
return void

AddPattern() public method

public AddPattern ( string prefix, IPatternMatcher matcher, bool caseSensitive, bool needSeparators, object tags ) : void
prefix string
matcher IPatternMatcher
caseSensitive bool
needSeparators bool
tags object
return void

AddToken() public method

public AddToken ( string text, bool caseSensitive, bool needSeparators, object tags ) : void
text string
caseSensitive bool
needSeparators bool
tags object
return void

Match() public method

public Match ( string text, int startIndex ) : MatchResult
text string
startIndex int
return MatchResult

TokenTree() public method

public TokenTree ( ) : System
return System