C# Class dotless.Core.Parser.Tokenizer

Afficher le fichier Open project: madaboutcode/dotless Class Usage Examples

Méthodes publiques

Méthode Description
Advance ( int length ) : void
GetZone ( string error, int position, int call, string fileName ) : Zone
HasCompletedParsing ( ) : bool
Match ( char tok ) : CharMatchResult
Match ( string tok ) : RegexMatchResult
Match ( string tok, bool caseInsensitive ) : RegexMatchResult
MatchString ( char tok ) : string
MatchString ( string tok ) : string
Peek ( char tok ) : bool
Peek ( string tok ) : bool
SetupInput ( string input ) : void
Tokenizer ( int optimization ) : System.Collections.Generic

Private Methods

Méthode Description
GetRegex ( string pattern, RegexOptions options ) : Regex

Method Details

Advance() public méthode

public Advance ( int length ) : void
length int
Résultat void

GetZone() public méthode

public GetZone ( string error, int position, int call, string fileName ) : Zone
error string
position int
call int
fileName string
Résultat Zone

HasCompletedParsing() public méthode

public HasCompletedParsing ( ) : bool
Résultat bool

Match() public méthode

public Match ( char tok ) : CharMatchResult
tok char
Résultat CharMatchResult

Match() public méthode

public Match ( string tok ) : RegexMatchResult
tok string
Résultat RegexMatchResult

Match() public méthode

public Match ( string tok, bool caseInsensitive ) : RegexMatchResult
tok string
caseInsensitive bool
Résultat RegexMatchResult

MatchString() public méthode

public MatchString ( char tok ) : string
tok char
Résultat string

MatchString() public méthode

public MatchString ( string tok ) : string
tok string
Résultat string

Peek() public méthode

public Peek ( char tok ) : bool
tok char
Résultat bool

Peek() public méthode

public Peek ( string tok ) : bool
tok string
Résultat bool

SetupInput() public méthode

public SetupInput ( string input ) : void
input string
Résultat void

Tokenizer() public méthode

public Tokenizer ( int optimization ) : System.Collections.Generic
optimization int
Résultat System.Collections.Generic