C# Class Kirikiri.Tjs2.Lexer

Inheritance: LexBase
Exibir arquivo Open project: fantasydr/krkr-cs Class Usage Examples

Public Methods

Method Description
GetCurrentPosition ( ) : int
GetNext ( ) : int
GetValue ( ) : int
Lexer ( Compiler block, string script, bool isexpr, bool resultneeded ) : System.Collections.Generic
SetNextIsBareWord ( ) : void
SetStartOfRegExp ( ) : void

Private Methods

Method Description
CompactByteBuffer ( ByteBuffer b ) : ByteBuffer
GetHexNum ( int c ) : int
GetString ( int idx ) : string
GetToken ( ) : int
GetValue ( int idx ) : Variant
InitReservedWordsHashTable ( ) : void
ParseOctet ( ) : ByteBuffer
ParsePPExpression ( string script ) : int
ParseRegExp ( ) : string
ParseString ( int delimiter ) : string
ProcessPPStatement ( ) : int
PutValue ( object val ) : int
SkipUntilEndif ( ) : int

Method Details

GetCurrentPosition() public method

public GetCurrentPosition ( ) : int
return int

GetNext() public method

public GetNext ( ) : int
return int

GetValue() public method

public GetValue ( ) : int
return int

Lexer() public method

public Lexer ( Compiler block, string script, bool isexpr, bool resultneeded ) : System.Collections.Generic
block Compiler
script string
isexpr bool
resultneeded bool
return System.Collections.Generic

SetNextIsBareWord() public method

public SetNextIsBareWord ( ) : void
return void

SetStartOfRegExp() public method

public SetStartOfRegExp ( ) : void
return void