Package rosetta :: Package numeric :: Package expression_parser :: Module _numeric_expression_parser_
[hide private]
[frames] | no frames]

Module _numeric_expression_parser_

Classes [hide private]
  ASTPrinter
Traverse the AST and print it to standard out
  ASTPrinterAP
  ASTPrinterCAP
  ASTVisitor
Double-dispatch visitor pattern for abstract syntax tree
  ASTVisitorAP
  ASTVisitorCAP
  AbsoluteValueExpression
numeric/expression_parser/Arithmetic.hh:794
  AbsoluteValueExpressionAP
  AbsoluteValueExpressionCAP
  AddExpression
numeric/expression_parser/Arithmetic.hh:810
  AddExpressionAP
  AddExpressionCAP
  AndExpression
Boolean Logic Operators
  AndExpressionAP
  AndExpressionCAP
  ArithmeticASTExpression
numeric/expression_parser/Arithmetic.hh:243
  ArithmeticASTExpressionAP
  ArithmeticASTExpressionCAP
  ArithmeticASTFactor
numeric/expression_parser/Arithmetic.hh:315
  ArithmeticASTFactorAP
  ArithmeticASTFactorCAP
  ArithmeticASTFunction
numeric/expression_parser/Arithmetic.hh:265
  ArithmeticASTFunctionAP
  ArithmeticASTFunctionCAP
  ArithmeticASTNode
//////////////////////////////////////// / BEGIN ABSTRAT SYNTAX TREE CLASSES //// //////////////////////////////////////// Base class for Abstract Syntax Tree (AST) for the simple Arithmetic language defined here.
  ArithmeticASTNodeAP
  ArithmeticASTNodeCAP
  ArithmeticASTRestExpression
numeric/expression_parser/Arithmetic.hh:389
  ArithmeticASTRestExpressionAP
  ArithmeticASTRestExpressionCAP
  ArithmeticASTRestTerm
numeric/expression_parser/Arithmetic.hh:361
  ArithmeticASTRestTermAP
  ArithmeticASTRestTermCAP
  ArithmeticASTTerm
numeric/expression_parser/Arithmetic.hh:293
  ArithmeticASTTermAP
  ArithmeticASTTermCAP
  ArithmeticASTValue
either a variable or a literal.
  ArithmeticASTValueAP
  ArithmeticASTValueCAP
  ArithmeticScanner
numeric/expression_parser/Arithmetic.hh:189
  ArithmeticScannerAP
  ArithmeticScannerCAP
  BinaryExpression
numeric/expression_parser/Arithmetic.hh:739
  BinaryExpressionAP
  BinaryExpressionCAP
  BooleanExpressionCreator
numeric/expression_parser/Arithmetic.hh:615
  BooleanExpressionCreatorAP
  BooleanExpressionCreatorCAP
  BooleanExpressionScanner
numeric/expression_parser/Arithmetic.hh:218
  BooleanExpressionScannerAP
  BooleanExpressionScannerCAP
  DivideExpression
numeric/expression_parser/Arithmetic.hh:862
  DivideExpressionAP
  DivideExpressionCAP
  EqualsExpression
BEGIN PSEUDO-BOOLEAN EXPRESSIONS DO NOT TRY TO DIFFERENTIATE THEM 1.
  EqualsExpressionAP
  EqualsExpressionCAP
  Expression
//////////////////////////////////////// // END ABSTRAT SYNTAX TREE CLASSES ///// //////////////////////////////////////// Pure virtual base class to define arbitrary expressions for scripting arithmetic operations (e.g.
  ExpressionAP
  ExpressionCAP
  ExpressionCreator
Class to traverse the abstract syntax tree produced by the parsing of a properly-formed string in the Arithmetic expression language.
  ExpressionCreatorAP
  ExpressionCreatorCAP
  FunctionToken
numeric/expression_parser/Arithmetic.hh:114
  FunctionTokenAP
  FunctionTokenCAP
  GTE_Expression
Greater Than or Equal To
  GTE_ExpressionAP
  GTE_ExpressionCAP
  GT_Expression
Greater Than
  GT_ExpressionAP
  GT_ExpressionCAP
  ITEExpression
numeric/expression_parser/Arithmetic.hh:1117
  ITEExpressionAP
  ITEExpressionCAP
  LTE_Expression
Less Than or Equal To
  LTE_ExpressionAP
  LTE_ExpressionCAP
  LT_Expression
Less Than
  LT_ExpressionAP
  LT_ExpressionCAP
  LiteralExpression
numeric/expression_parser/Arithmetic.hh:663
  LiteralExpressionAP
  LiteralExpressionCAP
  LiteralToken
numeric/expression_parser/Arithmetic.hh:70
  LiteralTokenAP
  LiteralTokenCAP
  MaxExpression
numeric/expression_parser/Arithmetic.hh:879
  MaxExpressionAP
  MaxExpressionCAP
  MetaMaxExpression
Evaluates ee1 when e1 is larger than e2; evaluates ee2 otherwise.
  MetaMaxExpressionAP
  MetaMaxExpressionCAP
  MetaMinExpression
Evaluates ee1 when e1 is less than e2; evaluates ee2 otherwise.
  MetaMinExpressionAP
  MetaMinExpressionCAP
  MinExpression
numeric/expression_parser/Arithmetic.hh:900
  MinExpressionAP
  MinExpressionCAP
  MultiplyExpression
numeric/expression_parser/Arithmetic.hh:845
  MultiplyExpressionAP
  MultiplyExpressionCAP
  NaryExpression
numeric/expression_parser/Arithmetic.hh:763
  NaryExpressionAP
  NaryExpressionCAP
  NotExpression
numeric/expression_parser/Arithmetic.hh:1100
  NotExpressionAP
  NotExpressionCAP
  OrExpression
numeric/expression_parser/Arithmetic.hh:1083
  OrExpressionAP
  OrExpressionCAP
  SimpleExpressionCreator
numeric/expression_parser/Arithmetic.hh:591
  SimpleExpressionCreatorAP
  SimpleExpressionCreatorCAP
  SimpleToken
numeric/expression_parser/Arithmetic.hh:138
  SimpleTokenAP
  SimpleTokenCAP
  SquarerootExpression
numeric/expression_parser/Arithmetic.hh:778
  SquarerootExpressionAP
  SquarerootExpressionCAP
  SubtractExpression
numeric/expression_parser/Arithmetic.hh:827
  SubtractExpressionAP
  SubtractExpressionCAP
  Token
numeric/expression_parser/Arithmetic.hh:56
  TokenAP
  TokenCAP
  TokenSet
numeric/expression_parser/Arithmetic.hh:159
  TokenSetAP
  TokenSetCAP
  TokenType
numeric/expression_parser/Arithmetic.hh:37
  UnaryExpression
numeric/expression_parser/Arithmetic.hh:718
  UnaryExpressionAP
  UnaryExpressionCAP
  VariableExpression
numeric/expression_parser/Arithmetic.hh:689
  VariableExpressionAP
  VariableExpressionCAP
  VariableToken
numeric/expression_parser/Arithmetic.hh:94
  VariableTokenAP
  VariableTokenCAP
  __CPP_ASTPrinter__
  __CPP_ASTVisitor__
  __CPP_AbsoluteValueExpression__
  __CPP_AddExpression__
  __CPP_AndExpression__
  __CPP_ArithmeticASTExpression__
  __CPP_ArithmeticASTFactor__
  __CPP_ArithmeticASTFunction__
  __CPP_ArithmeticASTNode__
  __CPP_ArithmeticASTRestExpression__
  __CPP_ArithmeticASTRestTerm__
  __CPP_ArithmeticASTTerm__
  __CPP_ArithmeticASTValue__
  __CPP_BinaryExpression__
  __CPP_BooleanExpressionCreator__
  __CPP_DivideExpression__
  __CPP_EqualsExpression__
  __CPP_ExpressionCreator__
  __CPP_Expression__
  __CPP_FunctionToken__
  __CPP_GTE_Expression__
  __CPP_GT_Expression__
  __CPP_ITEExpression__
  __CPP_LTE_Expression__
  __CPP_LT_Expression__
  __CPP_LiteralExpression__
  __CPP_LiteralToken__
  __CPP_MaxExpression__
  __CPP_MetaMaxExpression__
  __CPP_MetaMinExpression__
  __CPP_MinExpression__
  __CPP_MultiplyExpression__
  __CPP_NotExpression__
  __CPP_OrExpression__
  __CPP_SimpleExpressionCreator__
  __CPP_SimpleToken__
  __CPP_SquarerootExpression__
  __CPP_SubtractExpression__
  __CPP_Token__
  __CPP_UnaryExpression__
  __CPP_VariableExpression__
  __CPP_VariableToken__
Functions [hide private]
 
parse_string_to_boolean_expression(...)
parse_string_to_boolean_expression( (str)input_string) -> Expression : numeric/expression_parser/Arithmetic.hh:1160
 
parse_string_to_expression(...)
parse_string_to_expression( (str)input_string) -> Expression : numeric/expression_parser/Arithmetic.hh:1157
 
token_type_name(...)
token_type_name( (TokenType)) -> str : numeric/expression_parser/Arithmetic.hh:53
Variables [hide private]
  COMMA = rosetta.numeric.expression_parser._numeric_expression_...
  DIVIDE_SYMBOL = rosetta.numeric.expression_parser._numeric_exp...
  FUNCTION = rosetta.numeric.expression_parser._numeric_expressi...
  INVALID_TOKEN_TYPE = rosetta.numeric.expression_parser._numeri...
  LEFT_PAREN = rosetta.numeric.expression_parser._numeric_expres...
  LITERAL = rosetta.numeric.expression_parser._numeric_expressio...
  MULTIPLY_SYMBOL = rosetta.numeric.expression_parser._numeric_e...
  PLUS_SYMBOL = rosetta.numeric.expression_parser._numeric_expre...
  RIGHT_PAREN = rosetta.numeric.expression_parser._numeric_expre...
  SUBTRACT_SYMBOL = rosetta.numeric.expression_parser._numeric_e...
  VARIABLE = rosetta.numeric.expression_parser._numeric_expressi...
  __package__ = None
Function Details [hide private]

parse_string_to_boolean_expression(...)

 

parse_string_to_boolean_expression( (str)input_string) -> Expression :
    numeric/expression_parser/Arithmetic.hh:1160

    C++ signature :
        boost::shared_ptr<numeric::expression_parser::Expression const> parse_string_to_boolean_expression(std::string)

parse_string_to_expression(...)

 

parse_string_to_expression( (str)input_string) -> Expression :
    numeric/expression_parser/Arithmetic.hh:1157

    C++ signature :
        boost::shared_ptr<numeric::expression_parser::Expression const> parse_string_to_expression(std::string)

token_type_name(...)

 

token_type_name( (TokenType)) -> str :
    numeric/expression_parser/Arithmetic.hh:53

    C++ signature :
        std::string token_type_name(numeric::expression_parser::TokenType)


Variables Details [hide private]

COMMA

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.COMMA

DIVIDE_SYMBOL

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.DIVIDE_SYMBOL

FUNCTION

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.FUNCTION

INVALID_TOKEN_TYPE

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.INVALID_TOKEN_TYPE

LEFT_PAREN

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.LEFT_PAREN

LITERAL

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.LITERAL

MULTIPLY_SYMBOL

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.MULTIPLY_SYMBOL

PLUS_SYMBOL

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.PLUS_SYMBOL

RIGHT_PAREN

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.RIGHT_PAREN

SUBTRACT_SYMBOL

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.SUBTRACT_SYMBOL

VARIABLE

Value:
rosetta.numeric.expression_parser._numeric_expression_parser_.TokenTyp\
e.VARIABLE