C# Class Kirikiri.Tjs2.LexicalAnalyzer

Mostra file Open project: fantasydr/krkr-cs Class Usage Examples

Public Methods

Method Description
FinalizeApplication ( ) : void
GetCurrentPosition ( ) : int
GetNext ( ) : int
GetValue ( ) : int
Initialize ( ) : void
LexicalAnalyzer ( Compiler block, string script, bool isexpr, bool resultneeded ) : System
SetNextIsBareWord ( ) : void
SetStartOfRegExp ( ) : void

Private Methods

Method Description
CompactByteBuffer ( ByteBuffer b ) : ByteBuffer
EscapeC ( char b ) : string
GetString ( int idx ) : string
GetToken ( ) : int
GetValue ( int idx ) : Variant
ParseExtractNumber ( int basebits ) : bool
ParseNonDecimalInteger16 ( bool sign ) : int
ParseNonDecimalInteger2 ( bool sign ) : int
ParseNonDecimalInteger8 ( bool sign ) : int
ParseNonDecimalNumber ( bool sign, int @base ) : Number
ParseNonDecimalReal ( bool sign, int basebits ) : double
ParseNumber ( ) : Number
ParseOctet ( ) : ByteBuffer
ParsePPExpression ( string script ) : int
ParseRegExp ( ) : string
ProcessPPStatement ( ) : int
PutValue ( object val ) : int
ReadString ( int delimiter, bool embexpmode ) : string
SkipComment ( ) : int
SkipUntilEndif ( ) : int

Method Details

FinalizeApplication() public static method

public static FinalizeApplication ( ) : void
return void

GetCurrentPosition() public method

public GetCurrentPosition ( ) : int
return int

GetNext() public method

public GetNext ( ) : int
return int

GetValue() public method

public GetValue ( ) : int
return int

Initialize() public static method

public static Initialize ( ) : void
return void

LexicalAnalyzer() public method

public LexicalAnalyzer ( Compiler block, string script, bool isexpr, bool resultneeded ) : System
block Compiler
script string
isexpr bool
resultneeded bool
return System

SetNextIsBareWord() public method

public SetNextIsBareWord ( ) : void
return void

SetStartOfRegExp() public method

public SetStartOfRegExp ( ) : void
return void