Drag[en]gine Script Module DragonScript Script API  1.0
TSTriggerExpressionParser Class Reference
Inheritance diagram for TSTriggerExpressionParser:

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)
 

Detailed Description

Creates a TSTriggerExpression object from a string representation. 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.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ expressionComponentToString()

String expressionComponentToString ( TSTriggerExpressionComponent  component,
bool  grouping 
)

Create string from a trigger expression component.

§ expressionToString()

String expressionToString ( TSTriggerExpression  expression)

Create string from a trigger expression.

§ new()

Creates a new trigger expression parser.

§ parseExpressionComponent()

TSTriggerExpressionComponent parseExpressionComponent ( ParserState  state,
bool  requireEnd,
bool  initCurState,
bool  initNegate 
)

Parse an expression component.

§ parseTargetName()

String parseTargetName ( ParserState  state,
bool  quoted 
)

Parse trigger name.

§ quoteTriggerName()

String quoteTriggerName ( String  name)

Retrieves a properly quoted version of a trigger name.

§ stringToExpression()

TSTriggerExpression stringToExpression ( String  string)

Create trigger expression from a string.


The documentation for this class was generated from the following file: