#include <ExpressionParser.h>
Inheritance diagram for stx::ParseTreeList:
Public Member Functions | |
std::vector< AnyScalar > | evaluate (const class SymbolTable &st=BasicSymbolTable()) const |
Function to recursively evaluate all the contained parse trees and retrieve each calculated scalar value for the given symbol table. | |
std::string | toString () const |
Return the list of parsed expression as a string, which can be parsed again. | |
Protected Types | |
typedef std::vector< ParseTree > | parent_type |
typedef of our parent class |
It correctly allocates and deletes the parse nodes, because they themselves are not copy-constructable or assignable.
Definition at line 359 of file ExpressionParser.h.
std::vector< AnyScalar > stx::ParseTreeList::evaluate | ( | const class SymbolTable & | st = BasicSymbolTable() |
) | const |
Function to recursively evaluate all the contained parse trees and retrieve each calculated scalar value for the given symbol table.
Definition at line 1380 of file ExpressionParser.cc.
std::string stx::ParseTreeList::toString | ( | ) | const |
Return the list of parsed expression as a string, which can be parsed again.
Definition at line 1392 of file ExpressionParser.cc.