Drag[en]gine Script Module DragonScript
1.23
|
Create TSTriggerExpression object from string. More...
Classes | |
class | ParserState |
Public Member Functions | |
String | expressionComponentToString (TSTriggerExpressionComponent component, bool grouping) |
String | expressionToString (TSTriggerExpression expression) |
TSTriggerExpressionParser | new () |
TSTriggerExpressionComponent | parseExpressionComponent (ParserState state, bool requireEnd, bool initCurState, bool initNegate) |
String | parseTargetName (ParserState state, bool quoted) |
String | quoteTriggerName (String name) |
TSTriggerExpression | stringToExpression (String string) |
Public Attributes | |
String | pRequiresQuoteCharacters |
byte | pSymbolAnd |
byte | pSymbolCurState |
byte | pSymbolGroupEnd |
byte | pSymbolGroupStart |
byte | pSymbolNegate |
byte | pSymbolOr |
byte | pSymbolQuote |
Create TSTriggerExpression object from string.
Also allows to turn a TSTriggerExpression object into a string representation. This is done in a separate class as the representation could potentially be different in different implementations.
String Dragengine.TriggerSystem.TSTriggerExpressionParser.expressionComponentToString | ( | TSTriggerExpressionComponent | component, |
bool | grouping | ||
) |
Create string from a trigger expression component.
String Dragengine.TriggerSystem.TSTriggerExpressionParser.expressionToString | ( | TSTriggerExpression | expression | ) |
Create string from a trigger expression.
TSTriggerExpressionParser Dragengine.TriggerSystem.TSTriggerExpressionParser.new | ( | ) |
Creates a new trigger expression parser.
TSTriggerExpressionComponent Dragengine.TriggerSystem.TSTriggerExpressionParser.parseExpressionComponent | ( | ParserState | state, |
bool | requireEnd, | ||
bool | initCurState, | ||
bool | initNegate | ||
) |
Parse an expression component.
String Dragengine.TriggerSystem.TSTriggerExpressionParser.parseTargetName | ( | ParserState | state, |
bool | quoted | ||
) |
Parse trigger name.
String Dragengine.TriggerSystem.TSTriggerExpressionParser.quoteTriggerName | ( | String | name | ) |
Retrieves a properly quoted version of a trigger name.
TSTriggerExpression Dragengine.TriggerSystem.TSTriggerExpressionParser.stringToExpression | ( | String | string | ) |
Create trigger expression from a string.
String Dragengine.TriggerSystem.TSTriggerExpressionParser.pRequiresQuoteCharacters |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolAnd |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolCurState |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolGroupEnd |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolGroupStart |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolNegate |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolOr |
byte Dragengine.TriggerSystem.TSTriggerExpressionParser.pSymbolQuote |