Lines Matching refs:parser

68 static const tools::parser::token_type eof_type = 0;
69 static const tools::parser::token_type nl_type = 1;
70 static const tools::parser::token_type text_type = 2;
71 static const tools::parser::token_type colon_type = 3;
72 static const tools::parser::token_type comma_type = 4;
73 static const tools::parser::token_type tps_count_type = 5;
74 static const tools::parser::token_type tp_start_type = 6;
75 static const tools::parser::token_type tp_end_type = 7;
76 static const tools::parser::token_type tc_start_type = 8;
77 static const tools::parser::token_type tc_so_type = 9;
78 static const tools::parser::token_type tc_se_type = 10;
79 static const tools::parser::token_type tc_end_type = 11;
80 static const tools::parser::token_type passed_type = 12;
81 static const tools::parser::token_type failed_type = 13;
82 static const tools::parser::token_type skipped_type = 14;
83 static const tools::parser::token_type info_type = 16;
84 static const tools::parser::token_type expected_death_type = 17;
85 static const tools::parser::token_type expected_exit_type = 18;
86 static const tools::parser::token_type expected_failure_type = 19;
87 static const tools::parser::token_type expected_signal_type = 20;
88 static const tools::parser::token_type expected_timeout_type = 21;
90 class tokenizer : public tools::parser::tokenizer< std::istream > {
93 tools::parser::tokenizer< std::istream > in tokenizer()
120 read_timeval(tools::parser::parser< atf_tps::tokenizer >& parser) in read_timeval() argument
124 tools::parser::token t = parser.expect(text_type, "timestamp"); in read_timeval()
128 throw tools::parser::parse_error(t.lineno(), in read_timeval()
210 using tools::parser::parse_error; in read_info()
213 tools::parser::parser< tokenizer >& p = in read_info()
214 *reinterpret_cast< tools::parser::parser< tokenizer >* > in read_info()
219 tools::parser::token t = p.expect(text_type, "info property name"); in read_info()
229 using tools::parser::parse_error; in read_tp()
232 tools::parser::parser< tokenizer >& p = in read_tp()
233 *reinterpret_cast< tools::parser::parser< tokenizer >* > in read_tp()
236 tools::parser::token t = p.expect(tp_start_type, in read_tp()
301 using tools::parser::parse_error; in read_tc()
304 tools::parser::parser< tokenizer >& p = in read_tc()
305 *reinterpret_cast< tools::parser::parser< tokenizer >* > in read_tc()
308 tools::parser::token t = p.expect(tc_start_type, "start of test case"); in read_tc()
327 tools::parser::token t2 = t; in read_tc()
394 using tools::parser::parse_error; in read()
397 std::pair< size_t, tools::parser::headers_map > hml = in read()
398 tools::parser::read_headers(m_is, 1); in read()
399 tools::parser::validate_content_type(hml.second, in read()
403 tools::parser::parser< tokenizer > p(tkz); in read()
406 tools::parser::token t; in read()