C# Класс dotless.Core.Parser.Tokenizer

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetRegex ( string pattern, RegexOptions options ) : Regex

Описание методов

Advance() публичный Метод

public Advance ( int length ) : void
length int
Результат void

GetZone() публичный Метод

public GetZone ( string error, int position, int call, string fileName ) : Zone
error string
position int
call int
fileName string
Результат Zone

HasCompletedParsing() публичный Метод

public HasCompletedParsing ( ) : bool
Результат bool

Match() публичный Метод

public Match ( char tok ) : CharMatchResult
tok char
Результат CharMatchResult

Match() публичный Метод

public Match ( string tok ) : RegexMatchResult
tok string
Результат RegexMatchResult

Match() публичный Метод

public Match ( string tok, bool caseInsensitive ) : RegexMatchResult
tok string
caseInsensitive bool
Результат RegexMatchResult

MatchString() публичный Метод

public MatchString ( char tok ) : string
tok char
Результат string

MatchString() публичный Метод

public MatchString ( string tok ) : string
tok string
Результат string

Peek() публичный Метод

public Peek ( char tok ) : bool
tok char
Результат bool

Peek() публичный Метод

public Peek ( string tok ) : bool
tok string
Результат bool

SetupInput() публичный Метод

public SetupInput ( string input ) : void
input string
Результат void

Tokenizer() публичный Метод

public Tokenizer ( int optimization ) : System.Collections.Generic
optimization int
Результат System.Collections.Generic