Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FBasicMathExpressionEvaluator Class Reference

#include <BasicMathExpressionEvaluator.h>

+ Collaboration diagram for FBasicMathExpressionEvaluator:

Public Member Functions

 FBasicMathExpressionEvaluator ()
 
TValueOrError< double, FExpressionErrorEvaluate (const TCHAR *InExpression, double InExistingValue=0) const
 

Private Attributes

FTokenDefinitions TokenDefinitions
 
FExpressionGrammar Grammar
 
FOperatorJumpTable JumpTable
 

Detailed Description

A basic math expression evaluator

Definition at line 82 of file BasicMathExpressionEvaluator.h.

Constructor & Destructor Documentation

◆ FBasicMathExpressionEvaluator()

FBasicMathExpressionEvaluator::FBasicMathExpressionEvaluator ( )

Constructor that sets up the parser's lexer and compiler

Member Function Documentation

◆ Evaluate()

TValueOrError< double, FExpressionError > FBasicMathExpressionEvaluator::Evaluate ( const TCHAR * InExpression,
double InExistingValue = 0 ) const

Evaluate the given expression, resulting in either a double value, or an error

Member Data Documentation

◆ Grammar

FExpressionGrammar FBasicMathExpressionEvaluator::Grammar
private

Definition at line 93 of file BasicMathExpressionEvaluator.h.

◆ JumpTable

FOperatorJumpTable FBasicMathExpressionEvaluator::JumpTable
private

Definition at line 94 of file BasicMathExpressionEvaluator.h.

◆ TokenDefinitions

FTokenDefinitions FBasicMathExpressionEvaluator::TokenDefinitions
private

Definition at line 92 of file BasicMathExpressionEvaluator.h.


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