Drag[en]gine Script Module DragonScript
1.21
|
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) |
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.