Orbiter 2022
Combinatorial Objects
orbiter::layer1_foundations::expression_parser Namespace Reference

Expression parser, used to create an abstract syntax tree (AST) of a well-formed algebraic expression. More...

Classes

class  expression_parser
 class to parse expressions More...
 
class  expression_parser_domain
 a domain for things related to expression parsing More...
 
class  formula
 front-end to expression More...
 
class  lexer
 lexical analysis of expressions More...
 
class  syntax_tree
 the syntax tree of an expression More...
 
class  syntax_tree_node
 interior node in a syntax tree More...
 
class  syntax_tree_node_terminal
 terminal note in the syntax tree of an expression More...
 

Typedefs

typedef double(* OneArgFunction) (double arg)
 
typedef const double(* TwoArgFunction) (const double arg1, const double arg2)
 
typedef const double(* ThreeArgFunction) (const double arg1, const double arg2, const double arg3)
 

Detailed Description

Expression parser, used to create an abstract syntax tree (AST) of a well-formed algebraic expression.

Typedef Documentation

◆ OneArgFunction

typedef double(* orbiter::layer1_foundations::expression_parser::OneArgFunction) (double arg)

Definition at line 149 of file expression_parser.cpp.

◆ ThreeArgFunction

typedef const double(* orbiter::layer1_foundations::expression_parser::ThreeArgFunction) (const double arg1, const double arg2, const double arg3)

Definition at line 151 of file expression_parser.cpp.

◆ TwoArgFunction

typedef const double(* orbiter::layer1_foundations::expression_parser::TwoArgFunction) (const double arg1, const double arg2)

Definition at line 150 of file expression_parser.cpp.