C# Class System.Linq.Dynamic.Scanner

Datei anzeigen Open project: TargetProcess/Target-Process-Plugins

Public Properties

Property Type Description
CurrentColumn int
CurrentFile string
CurrentLine int
CurrentPosition int
EndPos int
Input string
Patterns Regex>.Dictionary
Skipped List
StartPos int

Public Methods

Method Description
GetToken ( TokenType type ) : Token
Init ( string input ) : void
Init ( string input, string fileName ) : 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 method

public GetToken ( TokenType type ) : Token
type TokenType
return Token

Init() public method

public Init ( string input ) : void
input string
return void

Init() public method

public Init ( string input, string fileName ) : void
input string
fileName string
return void

LookAhead() public method

returns token with longest best match
public LookAhead ( ) : Token
return Token

Scan() public method

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

Scanner() public method

public Scanner ( ) : System
return System

Property Details

CurrentColumn public_oe property

public int CurrentColumn
return int

CurrentFile public_oe property

public string CurrentFile
return string

CurrentLine public_oe property

public int CurrentLine
return int

CurrentPosition public_oe property

public int CurrentPosition
return int

EndPos public_oe property

public int EndPos
return int

Input public_oe property

public string Input
return string

Patterns public_oe property

public Dictionary Patterns
return Regex>.Dictionary

Skipped public_oe property

public List Skipped
return List

StartPos public_oe property

public int StartPos
return int