C# Class Alsing.Text.TokenTreeNode

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
CaseSensitive bool
Char char
ChildNodes Alsing.Text.TokenTreeNode[]
ContainsCaseInsensitiveData bool
Count long
FirstExpression Alsing.Text.PatternMatchers.PatternMatchReference
IsEnd bool
NeedSeparators bool
NextSibling TokenTreeNode
Tags object[]

Public Methods

Method Description
AddPattern ( bool caseSensitive, bool needSeparators, IPatternMatcher matcher, object tags ) : void
AddPattern ( string prefix, bool caseSensitive, bool needSeparators, IPatternMatcher matcher, object tags ) : void
AddToken ( string token, bool caseSensitive, bool needSeparators, object tags ) : void
AddTokenInternal ( string token, bool caseSensitive ) : TokenTreeNode
GetNextNode ( char c ) : TokenTreeNode
ToString ( ) : string
TokenTreeNode ( ) : System

Private Methods

Method Description
GetMatchingNode ( char childChar, TokenTreeNode node ) : TokenTreeNode
MakeRepeatingWS ( TokenTreeNode child ) : void

Method Details

AddPattern() public method

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

AddPattern() public method

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

AddToken() public method

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

AddTokenInternal() public method

public AddTokenInternal ( string token, bool caseSensitive ) : TokenTreeNode
token string
caseSensitive bool
return TokenTreeNode

GetNextNode() public method

public GetNextNode ( char c ) : TokenTreeNode
c char
return TokenTreeNode

ToString() public method

public ToString ( ) : string
return string

TokenTreeNode() public method

public TokenTreeNode ( ) : System
return System

Property Details

CaseSensitive public property

public bool CaseSensitive
return bool

Char public property

public char Char
return char

ChildNodes public property

public TokenTreeNode[],Alsing.Text ChildNodes
return Alsing.Text.TokenTreeNode[]

ContainsCaseInsensitiveData public property

public bool ContainsCaseInsensitiveData
return bool

Count public property

public long Count
return long

FirstExpression public property

public PatternMatchReference,Alsing.Text.PatternMatchers FirstExpression
return Alsing.Text.PatternMatchers.PatternMatchReference

IsEnd public property

public bool IsEnd
return bool

NeedSeparators public property

public bool NeedSeparators
return bool

NextSibling public property

public TokenTreeNode,Alsing.Text NextSibling
return TokenTreeNode

Tags public property

public object[] Tags
return object[]