The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::statistics::expression::grammar::ExpressionGrammar Class Reference
Inheritance diagram for sparta::statistics::expression::grammar::ExpressionGrammar:
Collaboration diagram for sparta::statistics::expression::grammar::ExpressionGrammar:

Public Member Functions

 ExpressionGrammar (sparta::TreeNode *root, std::vector< const TreeNode * > &already_used, const StatisticPairs &report_si)
 Expression Grammar constructor.
 

Detailed Description

Definition at line 30 of file ExpressionGrammar.hpp.

Constructor & Destructor Documentation

◆ ExpressionGrammar()

sparta::statistics::expression::grammar::ExpressionGrammar::ExpressionGrammar ( sparta::TreeNode root,
std::vector< const TreeNode * > &  already_used,
const StatisticPairs report_si 
)

Expression Grammar constructor.

Parameters
rootRoot TreeNode context for looking up children node names encountered during parsing
already_usedNodes 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_siStatisticInstance objects already created from previous expressions that now live in the report

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