C# Class Summer.Batch.Extra.Sort.Legacy.Parser.Lexer

Mostrar archivo Open project: SummerBatch/SummerBatch Class Usage Examples

Public Methods

Method Description
Lexer ( string configuration ) : System

Default constructor.

MoveNext ( ) : bool

Advances the lexer to the next token.

Parse ( ) : string

Parse - move to next token.

Parse ( string token ) : void

Parse given token

ParseInt ( ) : int

Try parsing current as int

SubString ( int start, int length ) : string

Substring facility

Private Methods

Method Description
ParseNext ( ) : string

Parses the next token

ParseString ( ) : string

Parses a string literal

Method Details

Lexer() public method

Default constructor.
public Lexer ( string configuration ) : System
configuration string the configuration string to parse
return System

MoveNext() public method

Advances the lexer to the next token.
public MoveNext ( ) : bool
return bool

Parse() public method

Parse - move to next token.
public Parse ( ) : string
return string

Parse() public method

Parse given token
public Parse ( string token ) : void
token string
return void

ParseInt() public method

Try parsing current as int
public ParseInt ( ) : int
return int

SubString() public method

Substring facility
public SubString ( int start, int length ) : string
start int
length int
return string