Home
last modified time | relevance | path

Searched refs:expression_ast (Results 1 – 7 of 7) sorted by relevance

/third_party/boost/libs/spirit/repository/example/karma/
Dcalc2_ast.hpp35 struct expression_ast struct
53 expression_ast() in expression_ast() argument
56 expression_ast(unary_op const& expr) in expression_ast() function
59 expression_ast(binary_op const& expr) in expression_ast() function
62 expression_ast(unsigned int expr) in expression_ast() function
65 expression_ast(type const& expr) in expression_ast() argument
68 expression_ast& operator+=(expression_ast const& rhs);
69 expression_ast& operator-=(expression_ast const& rhs);
70 expression_ast& operator*=(expression_ast const& rhs);
71 expression_ast& operator/=(expression_ast const& rhs);
[all …]
Dcalc2_ast_dump_sr.cpp40 : qi::grammar<Iterator, expression_ast(), space_type>
66 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor;
76 (expression_ast, left)
78 (expression_ast, right)
84 (expression_ast, right)
92 : karma::grammar<OuputIterator, expression_ast(), space_type>
107 karma::rule<OuputIterator, expression_ast(), space_type> entry;
109 repo::karma::subrule<0, expression_ast()> ast_node;
143 expression_ast ast; in main()
/third_party/boost/libs/spirit/example/karma/
Dcalc2_ast_vm.hpp35 struct expression_ast struct
53 expression_ast() in expression_ast() argument
56 expression_ast(unary_op const& expr) in expression_ast() function
59 expression_ast(binary_op const& expr) in expression_ast() function
62 expression_ast(unsigned int expr) in expression_ast() argument
65 expression_ast(type const& expr) in expression_ast() function
68 expression_ast& operator+=(expression_ast const& rhs);
69 expression_ast& operator-=(expression_ast const& rhs);
70 expression_ast& operator*=(expression_ast const& rhs);
71 expression_ast& operator/=(expression_ast const& rhs);
[all …]
Dcalc2_ast.hpp35 struct expression_ast struct
53 expression_ast() in expression_ast() argument
56 expression_ast(unary_op const& expr) in expression_ast() function
59 expression_ast(binary_op const& expr) in expression_ast() function
62 expression_ast(unsigned int expr) in expression_ast() argument
65 expression_ast(type const& expr) in expression_ast() argument
68 expression_ast& operator+=(expression_ast const& rhs);
69 expression_ast& operator-=(expression_ast const& rhs);
70 expression_ast& operator*=(expression_ast const& rhs);
71 expression_ast& operator/=(expression_ast const& rhs);
[all …]
Dcalc2_ast_dump.cpp37 : qi::grammar<Iterator, expression_ast(), space_type>
63 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor;
73 (expression_ast, left)
75 (expression_ast, right)
81 (expression_ast, right)
89 : karma::grammar<OuputIterator, expression_ast(), space_type>
98 karma::rule<OuputIterator, expression_ast(), space_type> ast_node;
132 expression_ast ast; in main()
Dcalc2_ast_rpn.cpp37 : qi::grammar<Iterator, expression_ast(), space_type>
63 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor;
73 (expression_ast, left)
74 (expression_ast, right)
80 (expression_ast, right)
90 : karma::grammar<OuputIterator, expression_ast(), space_type>
99 karma::rule<OuputIterator, expression_ast(), space_type> ast_node;
133 expression_ast ast; // this will hold the generated AST in main()
Dcalc2_ast_vm.cpp38 : qi::grammar<Iterator, expression_ast(), space_type>
64 qi::rule<Iterator, expression_ast(), space_type> expression, term, factor;
139 (expression_ast, left)
140 (expression_ast, right)
146 (expression_ast, right)
155 : karma::grammar<OuputIterator, expression_ast(), Delimiter>
165 karma::rule<OuputIterator, expression_ast(), Delimiter> ast_node;
174 bool generate_vm_code(expression_ast const& ast, in generate_vm_code()
209 expression_ast ast; in main()