Home
last modified time | relevance | path

Searched refs:eval_expression (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/spirit/classic/example/fundamental/
Dast_calc.cpp43 long eval_expression(iter_t const& i);
47 return eval_expression(info.trees.begin()); in evaluate()
50 long eval_expression(iter_t const& i) in eval_expression() function
69 return - eval_expression(i->children.begin()); in eval_expression()
76 return eval_expression(i->children.begin()) * in eval_expression()
77 eval_expression(i->children.begin()+1); in eval_expression()
82 return eval_expression(i->children.begin()) / in eval_expression()
83 eval_expression(i->children.begin()+1); in eval_expression()
93 return eval_expression(i->children.begin()) + in eval_expression()
94 eval_expression(i->children.begin()+1); in eval_expression()
[all …]
Dparse_tree_calc1.cpp53 long eval_expression(iter_t const& i);
60 return eval_expression(info.trees.begin()); in evaluate()
64 long eval_expression(iter_t const& i) in eval_expression() function
123 return eval_expression(chi); in eval_factor()
/third_party/boost/libs/spirit/classic/example/fundamental/more_calculators/
Dast_calc2.cpp40 long eval_expression(iter_t const& i);
47 return eval_expression(hit.trees.begin()); in evaluate()
50 long eval_expression(iter_t const& i) in eval_expression() function
67 return - eval_expression(i->children.begin()); in eval_expression()
74 return eval_expression(i->children.begin()) * in eval_expression()
75 eval_expression(i->children.begin()+1); in eval_expression()
80 return eval_expression(i->children.begin()) / in eval_expression()
81 eval_expression(i->children.begin()+1); in eval_expression()
91 return eval_expression(i->children.begin()) + in eval_expression()
92 eval_expression(i->children.begin()+1); in eval_expression()
[all …]
/third_party/boost/libs/spirit/classic/test/
Dast_calc_tests.cpp133 long eval_expression(iter_t const& i);
137 return eval_expression(info.trees.begin()); in evaluate()
140 long eval_expression(iter_t const& i) in eval_expression() function
166 return - eval_expression(i->children.begin()); in eval_expression()
174 return eval_expression(i->children.begin()) * in eval_expression()
175 eval_expression(i->children.begin()+1); in eval_expression()
180 return eval_expression(i->children.begin()) / in eval_expression()
181 eval_expression(i->children.begin()+1); in eval_expression()
192 return eval_expression(i->children.begin()) + in eval_expression()
193 eval_expression(i->children.begin()+1); in eval_expression()
[all …]