Searched refs:calculator_parser (Results 1 – 4 of 4) sorted by relevance
/third_party/boost/libs/metaparse/example/calculator_with_parens_and_unary_ops/ |
D | main.cpp | 158 typedef build_parser<entire_input<expression> > calculator_parser; typedef 177 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main() 178 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main() 179 << apply_wrap1<calculator_parser, _STR("1+2*3+4")>::type::value << endl in main() 180 << apply_wrap1<calculator_parser, _STR("(1+2)*(3+4)")>::type::value << endl in main() 181 << apply_wrap1<calculator_parser, _STR("(2*3)+(4*5)")>::type::value << endl in main() 182 << apply_wrap1<calculator_parser, _STR("2 * 3 + 4")>::type::value << endl in main() 183 << apply_wrap1<calculator_parser, _STR("2 + (3 * 4)")>::type::value << endl in main() 184 << apply_wrap1<calculator_parser, _STR("+3")>::type::value << endl in main() 185 << apply_wrap1<calculator_parser, _STR("-21")>::type::value << endl in main() [all …]
|
/third_party/boost/libs/metaparse/example/calculator_with_parens/ |
D | main.cpp | 134 typedef build_parser<entire_input<expression> > calculator_parser; typedef 153 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main() 154 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main() 155 << apply_wrap1<calculator_parser, _STR("1+2*3+4")>::type::value << endl in main() 156 << apply_wrap1<calculator_parser, _STR("(1+2)*(3+4)")>::type::value << endl in main() 157 << apply_wrap1<calculator_parser, _STR("(2*3)+(4*5)")>::type::value << endl in main() 158 << apply_wrap1<calculator_parser, _STR("2 * 3 + 4")>::type::value << endl in main() 159 << apply_wrap1<calculator_parser, _STR("2 + (3 * 4)")>::type::value << endl in main()
|
/third_party/boost/libs/metaparse/example/calculator/ |
D | main.cpp | 121 typedef build_parser<entire_input<expression> > calculator_parser; typedef 136 << apply_wrap1<calculator_parser, string<'1','3'> >::type::value << endl in main() 139 calculator_parser, string<' ','1','+',' ','2','*','4','-','6','/','2'> in main() 151 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main() 152 << apply_wrap1<calculator_parser, _STR(" 1+ 2*4-6/2")>::type::value << endl in main()
|
/third_party/boost/libs/metaparse/example/grammar_calculator/ |
D | main.cpp | 147 typedef build_parser<entire_input<expression>> calculator_parser; typedef 155 << apply_wrap1<calculator_parser, _STR("13")>::type::value << endl in main() 156 << apply_wrap1<calculator_parser, _STR("1+ 2*4-6/2")>::type::value << endl in main()
|