Method | Description | |
---|---|---|
CheckTokenString ( string str ) : bool |
Returns true if the next token equals the given string and removes the token from the source.
|
|
Error ( string format ) : void | ||
ExpectAnyToken ( ) : |
||
ExpectTokenString ( string str ) : bool | ||
ExpectTokenType ( TokenType type, TokenSubType subType ) : |
||
LoadFile ( string fileName, bool osPath ) : bool |
Load the given source.
|
|
LoadMemory ( string content, string name ) : bool |
Load the given source.
|
|
ParseBool ( ) : bool | ||
ParseFloat ( ) : float | ||
ParseInteger ( ) : int | ||
ReadToken ( ) : |
||
SetMarker ( ) : void | ||
UnreadToken ( |
||
Warning ( string format ) : void | ||
idScriptParser ( LexerOptions options ) : System |
Method | Description | |
---|---|---|
AddDefineToHash ( |
||
AddGlobalDefinesToSource ( ) : void | ||
CopyDefine ( |
||
Directive_Define ( ) : bool | ||
Directive_Else ( ) : bool | ||
Directive_ElseIf ( ) : bool | ||
Directive_EndIf ( ) : bool | ||
Directive_Error ( ) : bool | ||
Directive_Eval ( ) : bool | ||
Directive_EvalFloat ( ) : bool | ||
Directive_If ( ) : bool | ||
Directive_IfDefined ( ) : bool | ||
Directive_IfDefinedActual ( IndentType type ) : bool | ||
Directive_IfNotDefined ( ) : bool | ||
Directive_Include ( ) : bool | ||
Directive_Line ( ) : bool | ||
Directive_Pragma ( ) : bool | ||
Directive_UnDefine ( ) : bool | ||
Directive_Warning ( ) : bool | ||
DollarDirective_EvalFloat ( ) : bool | ||
DollarDirective_EvalInt ( ) : bool | ||
DollarEvaluate ( long &intValue, double &floatValue, bool integer ) : bool | ||
Evaluate ( long &intValue, double &floatValue, bool integer ) : bool | ||
FindDefineParameter ( |
||
PopIndent ( IndentType &type, int &skip ) : void | ||
PushIndent ( IndentType type, int skip ) : void | ||
PushScript ( |
||
ReadDirective ( ) : bool | ||
ReadDollarDirective ( ) : bool | ||
ReadLine ( ) : |
Reads a token from the current line, continues reading on the next line only if a backslash '\' is found.
|
|
ReadSourceToken ( ) : |
||
UnreadSignToken ( ) : void | ||
UnreadSourceToken ( |
public CheckTokenString ( string str ) : bool | ||
str | string | |
return | bool |
public ExpectTokenString ( string str ) : bool | ||
str | string | |
return | bool |
public ExpectTokenType ( TokenType type, TokenSubType subType ) : |
||
type | TokenType | |
subType | TokenSubType | |
return |
public LoadFile ( string fileName, bool osPath ) : bool | ||
fileName | string | |
osPath | bool | |
return | bool |
public LoadMemory ( string content, string name ) : bool | ||
content | string | |
name | string | |
return | bool |
public idScriptParser ( LexerOptions options ) : System | ||
options | LexerOptions | |
return | System |