C# Class System.Linq.Dynamic.Scanner

Show file 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 property

public int CurrentColumn
return int

CurrentFile public property

public string CurrentFile
return string

CurrentLine public property

public int CurrentLine
return int

CurrentPosition public property

public int CurrentPosition
return int

EndPos public property

public int EndPos
return int

Input public property

public string Input
return string

Patterns public property

public Dictionary Patterns
return Regex>.Dictionary

Skipped public property

public List Skipped
return List

StartPos public property

public int StartPos
return int