Cerebrum™
Loading...
Searching...
No Matches
Cerebrum.B83.LogicExpressionParser.ParsingContext Class Reference

Public Member Functions

 ParsingContext ()
 
 ParsingContext (bool aAddMathMethods)
 
void AddMathFunctions ()
 
virtual void Preprocess (Parser aParser, ref string aExpression)
 
string GetBracket (ref string aExpression)
 
ValueProvider GetCommand (ref string aExpression)
 
Func< ParameterList, double > GetFunction (string fName)
 
void AddFunction (string aName, Func< ParameterList, double > aFunc)
 

Static Public Member Functions

static int FindClosingBracket (string aText, int aStart, char aOpen, char aClose)
 

Protected Member Functions

virtual ValueProvider ParseCommand (Parser aParser, string aCommand)
 

Constructor & Destructor Documentation

◆ ParsingContext() [1/2]

Cerebrum.B83.LogicExpressionParser.ParsingContext.ParsingContext ( )

◆ ParsingContext() [2/2]

Cerebrum.B83.LogicExpressionParser.ParsingContext.ParsingContext ( bool  aAddMathMethods)

Member Function Documentation

◆ AddFunction()

void Cerebrum.B83.LogicExpressionParser.ParsingContext.AddFunction ( string  aName,
Func< ParameterList, double >  aFunc 
)
Here is the caller graph for this function:

◆ AddMathFunctions()

void Cerebrum.B83.LogicExpressionParser.ParsingContext.AddMathFunctions ( )
Here is the caller graph for this function:

◆ FindClosingBracket()

static int Cerebrum.B83.LogicExpressionParser.ParsingContext.FindClosingBracket ( string  aText,
int  aStart,
char  aOpen,
char  aClose 
)
static

◆ GetBracket()

string Cerebrum.B83.LogicExpressionParser.ParsingContext.GetBracket ( ref string  aExpression)

◆ GetCommand()

ValueProvider Cerebrum.B83.LogicExpressionParser.ParsingContext.GetCommand ( ref string  aExpression)

◆ GetFunction()

Func< ParameterList, double > Cerebrum.B83.LogicExpressionParser.ParsingContext.GetFunction ( string  fName)

◆ ParseCommand()

virtual ValueProvider Cerebrum.B83.LogicExpressionParser.ParsingContext.ParseCommand ( Parser  aParser,
string  aCommand 
)
protectedvirtual

◆ Preprocess()

virtual void Cerebrum.B83.LogicExpressionParser.ParsingContext.Preprocess ( Parser  aParser,
ref string  aExpression 
)
virtual

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