Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
ExpressionParserTypes.h File Reference
+ Include dependency graph for ExpressionParserTypes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FExpressionError
 
class  FStringToken
 
class  FTokenStream
 
class  FExpressionNode
 
class  FExpressionToken
 
struct  FCompiledToken
 
struct  FOperatorFunctionID
 
struct  TOperatorJumpTable< ContextType >
 
struct  IOperatorEvaluationEnvironment
 
struct  TOperatorEvaluationEnvironment< ContextType >
 
class  FExpressionTokenConsumer
 
class  FTokenDefinitions
 
struct  FOpParameters
 
class  FExpressionGrammar
 

Namespaces

namespace  Impl
 

Macros

#define DEFINE_EXPRESSION_NODE_TYPE(TYPE, ...)
 

Typedefs

typedef TValueOrError< FExpressionNode, FExpressionErrorFExpressionResult
 
typedef TOperatorJumpTable FOperatorJumpTable
 
typedef TOperatorEvaluationEnvironment FOperatorEvaluationEnvironment
 

Enumerations

enum class  EParseState {
  Continue = 0x0 , StopAfter = 0x1 , StopBefore = 0x2 , Cancel = 0x3 ,
  Continue , StopAfter , StopBefore , Cancel
}
 
enum class  EAssociativity { RightToLeft = 0x0 , LeftToRight = 0x1 , RightToLeft , LeftToRight }
 

Functions

typedef TOptional< FExpressionError > (FExpressionDefinition)(FExpressionTokenConsumer &)
 

Macro Definition Documentation

◆ DEFINE_EXPRESSION_NODE_TYPE

#define DEFINE_EXPRESSION_NODE_TYPE ( TYPE,
... )
Value:

Helper macro to define the necessary template specialization for a particular expression node type Variable length arguments are passed the FGuid constructor. Must be unique per type

Definition at line 159 of file ExpressionParserTypes.h.

Typedef Documentation

◆ FExpressionResult

◆ FOperatorEvaluationEnvironment

◆ FOperatorJumpTable

Enumeration Type Documentation

◆ EAssociativity

Enum specifying the associativity (order of execution) for binary operators

Enumerator
RightToLeft 
LeftToRight 
RightToLeft 
LeftToRight 

Definition at line 491 of file ExpressionParserTypes.h.

◆ EParseState

Enum specifying how to treat the currently parsing character.

Enumerator
Continue 
StopAfter 
StopBefore 
Cancel 
Continue 

Include this character in the token and continue consuming

StopAfter 

Include this character in the token and stop consuming

StopBefore 

Exclude this character from the token and stop consuming

Cancel 

Cancel parsing this token, and return nothing.

Definition at line 76 of file ExpressionParserTypes.h.

Function Documentation

◆ TOptional< FExpressionError >()

Typedef that defines a function used to consume tokens Definitions may add FExpressionNodes parsed from the provided consumer's stream, or return an optional error. Where a definition performs no mutable operations, subsequent token definitions will be invoked.