22 #ifndef _EVAL_GRAMMAR_HPP 23 #define _EVAL_GRAMMAR_HPP 38 struct EvalGrammer :
public qi::grammar<GrammarIterator, STNode::node_ptr(), chs::space_type>
Grammar used to parse eval expressions.
qi::rule< ItType, STNode::node_ptr(), Skipper > rule_lvl2_expr
rule for lvl 2 operations
qi::rule< ItType, string()> rule_string
rule for a simple string
GrammarIterator ItType
Type of the iterator used to parse the grammar.
classic::position_iterator2< StringIterator > GrammarIterator
Iterator wrapping the file iterator and to be used in all grammars.
qi::rule< ItType, STNode::node_ptr(), Skipper > rule_func_expr
rule for function expressions
qi::rule< ItType, STNode::node_ptr(), Skipper > rule_lvl1_expr
rule for lvl 1 operations
This file is part of alaCarte.
chs::space_type Skipper
Type of the skipper used by this grammar.
qi::rule< ItType, STNode::node_ptr(), Skipper > rule_lvl4_expr
rule for lvl 4 operations
qi::rule< ItType, STNode::node_ptr(), Skipper > rule_lvl3_expr
rule for lvl 3 operations
EvalGrammer()
Creates an eval grammar.