C# Class Tup.Cobar4Net.Route.Hint.HintParser

Stateless
Exibir arquivo Open project: tupunco/Tup.Cobar4Net

Public Methods

Method Description
Process ( CobarHint hint, string hintName, string sql ) : void

hint's CobarHint.GetCurrentIndex() will be changed to index of next char after process

Protected Methods

Method Description
CurrentChar ( CobarHint hint, string sql ) : char
IsDigit ( char c ) : bool
NextChar ( CobarHint hint, string sql ) : char

current char is not separator

ParsePrimary ( CobarHint hint, string sql ) : object

Private Methods

Method Description
SkipSpace ( CobarHint hint, string sql ) : void

Method Details

CurrentChar() protected method

protected CurrentChar ( CobarHint hint, string sql ) : char
hint CobarHint
sql string
return char

IsDigit() protected static method

protected static IsDigit ( char c ) : bool
c char
return bool

NextChar() protected method

current char is not separator
protected NextChar ( CobarHint hint, string sql ) : char
hint CobarHint
sql string
return char

ParsePrimary() protected method

protected ParsePrimary ( CobarHint hint, string sql ) : object
hint CobarHint
sql string
return object

Process() public abstract method

hint's CobarHint.GetCurrentIndex() will be changed to index of next char after process
public abstract Process ( CobarHint hint, string hintName, string sql ) : void
hint CobarHint
hintName string
sql string
return void