C# Class bsharptree.example.simpleindex.query.parser.Scanner

Afficher le fichier Open project: thoward/bsharptree Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentColumn int
CurrentLine int
CurrentPosition int
EndPos int
Input string
Patterns Regex>.Dictionary
Skipped List
StartPos int

Méthodes publiques

Méthode Description
GetToken ( TokenType type ) : Token
Init ( string input ) : void
LookAhead ( ) : Token

returns token with longest best match

Scan ( ) : Token

executes a lookahead of the next token and will advance the scan on the input string

Scanner ( ) : System

Method Details

GetToken() public méthode

public GetToken ( TokenType type ) : Token
type TokenType
Résultat Token

Init() public méthode

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

LookAhead() public méthode

returns token with longest best match
public LookAhead ( ) : Token
Résultat Token

Scan() public méthode

executes a lookahead of the next token and will advance the scan on the input string
public Scan ( ) : Token
Résultat Token

Scanner() public méthode

public Scanner ( ) : System
Résultat System

Property Details

CurrentColumn public_oe property

public int CurrentColumn
Résultat int

CurrentLine public_oe property

public int CurrentLine
Résultat int

CurrentPosition public_oe property

public int CurrentPosition
Résultat int

EndPos public_oe property

public int EndPos
Résultat int

Input public_oe property

public string Input
Résultat string

Patterns public_oe property

public Dictionary Patterns
Résultat Regex>.Dictionary

Skipped public_oe property

public List Skipped
Résultat List

StartPos public_oe property

public int StartPos
Résultat int