The Sparta Modeling Framework
|
Class for parsing statistical expressions based on a specific TreeNode context. More...
#include <ExpressionParser.hpp>
Public Member Functions | |
ExpressionParser (TreeNode *n, std::vector< const TreeNode * > &already_used, const StatisticPairs &report_si) | |
Construct a parser in the context of a specific TreeNode. | |
Expression && | parse (const std::string &input) |
Class for parsing statistical expressions based on a specific TreeNode context.
Definition at line 28 of file ExpressionParser.hpp.
|
inline |
Construct a parser in the context of a specific TreeNode.
n | TreeNode context for parsing expressions using this parser |
already_used | Nodes which have been used by an expression containing this. These Nodes are off-limits for parsing here and should throw an Exception if encountered |
report_si | StatisticInstance objects already created from previous expressions that now live in the report |
Definition at line 51 of file ExpressionParser.hpp.
|
inline |
Definition at line 57 of file ExpressionParser.hpp.