Home
last modified time | relevance | path

Searched refs:token_type (Results 1 – 25 of 28) sorted by relevance

12

/netbsd-src/external/bsd/atf/dist/tools/
H A Dparser.hpp90 typedef int token_type; typedef
101 token_type m_type;
106 token(size_t, const token_type&, const std::string& = "");
109 const token_type& type(void) const;
137 token_type m_eof_type, m_nl_type, m_text_type;
139 std::map< char, token_type > m_delims_map;
143 token_type m_quotetype;
145 std::map< std::string, token_type > m_keywords_map;
147 token_type alloc_type(void);
154 tokenizer(IS&, bool, const token_type&, const token_type&,
[all …]
H A Dreader.cpp68 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;
[all …]
H A Datffile.cpp54 static const tools::parser::token_type eof_type = 0;
55 static const tools::parser::token_type nl_type = 1;
56 static const tools::parser::token_type text_type = 2;
57 static const tools::parser::token_type colon_type = 3;
58 static const tools::parser::token_type conf_type = 4;
59 static const tools::parser::token_type dblquote_type = 5;
60 static const tools::parser::token_type equal_type = 6;
61 static const tools::parser::token_type hash_type = 7;
62 static const tools::parser::token_type prop_type = 8;
63 static const tools::parser::token_type tp_type = 9;
[all …]
H A Dparser_test.cpp130 static const tools::parser::token_type eof_type = 0;
131 static const tools::parser::token_type nl_type = 1;
132 static const tools::parser::token_type word_type = 2;
147 static const tools::parser::token_type eof_type = 0;
148 static const tools::parser::token_type nl_type = 1;
149 static const tools::parser::token_type word_type = 2;
150 static const tools::parser::token_type plus_type = 3;
151 static const tools::parser::token_type minus_type = 4;
152 static const tools::parser::token_type equal_type = 5;
170 static const tools::parser::token_type eof_type = 0;
[all …]
H A Dparser.cpp120 const token_type& p_type, in token()
136 const impl::token_type&
217 static const impl::token_type eof_type = 0;
218 static const impl::token_type nl_type = 1;
219 static const impl::token_type text_type = 2;
220 static const impl::token_type colon_type = 3;
221 static const impl::token_type semicolon_type = 4;
222 static const impl::token_type dblquote_type = 5;
223 static const impl::token_type equal_type = 6;
H A Dconfig_file.cpp49 static const tools::parser::token_type eof_type = 0;
50 static const tools::parser::token_type nl_type = 1;
51 static const tools::parser::token_type text_type = 2;
52 static const tools::parser::token_type dblquote_type = 3;
53 static const tools::parser::token_type equal_type = 4;
54 static const tools::parser::token_type hash_type = 5;
H A Dtest-program.cpp83 static const tools::parser::token_type eof_type = 0;
84 static const tools::parser::token_type nl_type = 1;
85 static const tools::parser::token_type text_type = 2;
86 static const tools::parser::token_type colon_type = 3;
87 static const tools::parser::token_type dblquote_type = 4;
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dip_match.c441 int token_type; in ip_match_parse() local
497 switch (token_type = ip_match_next_token(&cp, &saved_cp, &oval)) { in ip_match_parse()
514 token_type = ip_match_next_token(&cp, &saved_cp, &oval); in ip_match_parse()
515 if (token_type == IP_MATCH_CODE_OVAL) { in ip_match_parse()
543 token_type = look_ahead; in ip_match_parse()
544 if (token_type == ';') { in ip_match_parse()
546 } else if (token_type == IP_MATCH_CODE_CLOSE) { in ip_match_parse()
/netbsd-src/external/gpl2/groff/dist/src/preproc/refer/
H A Dtoken.h23 enum token_type { enum
35 token_type type;
40 void set(token_type, const char *sk = 0, const char *oc = 0);
H A Dtoken.cpp88 void token_info::set(token_type t, const char *sk, const char *oc) in set()
156 static void store_token(const char *tok, token_type typ, in store_token()
/netbsd-src/external/bsd/flex/dist/examples/manual/
H A Dfront.lex9 #define copy_and_return(token_type) { strcpy(yylval.name,yytext); \ argument
10 return(token_type); }
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-common.c6122 c_parse_error (const char *gmsgid, enum cpp_ttype token_type, in c_parse_error() argument
6130 if (token_type == CPP_EOF) in c_parse_error()
6132 else if (token_type == CPP_CHAR in c_parse_error()
6133 || token_type == CPP_WCHAR in c_parse_error()
6134 || token_type == CPP_CHAR16 in c_parse_error()
6135 || token_type == CPP_CHAR32 in c_parse_error()
6136 || token_type == CPP_UTF8CHAR) in c_parse_error()
6141 switch (token_type) in c_parse_error()
6169 else if (token_type == CPP_CHAR_USERDEF in c_parse_error()
6170 || token_type == CPP_WCHAR_USERDEF in c_parse_error()
[all …]
H A Dc-common.h1399 enum cpp_ttype token_type,
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-common.cc6507 c_parse_error (const char *gmsgid, enum cpp_ttype token_type, in c_parse_error() argument
6515 if (token_type == CPP_EOF) in c_parse_error()
6517 else if (token_type == CPP_CHAR in c_parse_error()
6518 || token_type == CPP_WCHAR in c_parse_error()
6519 || token_type == CPP_CHAR16 in c_parse_error()
6520 || token_type == CPP_CHAR32 in c_parse_error()
6521 || token_type == CPP_UTF8CHAR) in c_parse_error()
6526 switch (token_type) in c_parse_error()
6554 else if (token_type == CPP_CHAR_USERDEF in c_parse_error()
6555 || token_type == CPP_WCHAR_USERDEF in c_parse_error()
[all …]
H A Dc-common.h1508 enum cpp_ttype token_type,
/netbsd-src/external/gpl2/groff/dist/src/roff/troff/
H A Dtoken.h35 enum token_type { enum
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dipfstat.c1304 int token_type = IPFGENITER_STATE; local
1452 (void) ioctl(state_fd, SIOCIPFDELTOK, &token_type);
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DQLParser.tab.hh523 typedef token_kind_type token_type; typedef in QL::Parser
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/
H A Dtrans-decl.c996 tree token_type = build_qualified_type (pvoid_type_node, in gfc_build_qualified_array() local
1006 token_type); in gfc_build_qualified_array()
1022 token = gfc_create_var_np (token_type, "caf_token"); in gfc_build_qualified_array()
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A Dtrans-decl.cc1001 tree token_type = build_qualified_type (pvoid_type_node, in gfc_build_qualified_array() local
1011 token_type); in gfc_build_qualified_array()
1027 token = gfc_create_var_np (token_type, "caf_token"); in gfc_build_qualified_array()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-parser.c1298 cpp_ttype token_type; variable
1302 token_type = token->type;
1303 if (token_type == CPP_EOF)
1307 while (token_type != CPP_PRAGMA_EOL);
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-parser.cc1326 cpp_ttype token_type; in c_parser_skip_to_pragma_eol() local
1330 token_type = token->type; in c_parser_skip_to_pragma_eol()
1331 if (token_type == CPP_EOF) in c_parser_skip_to_pragma_eol()
1335 while (token_type != CPP_PRAGMA_EOL); in c_parser_skip_to_pragma_eol()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dparser.c1871 enum cpp_ttype token_type; member
3988 binops_by_token[binops[i].token_type] = binops[i]; in cp_parser_new()
7693 enum cpp_ttype token_type, in cp_parser_postfix_dot_deref_expression() argument
7705 if (token_type == CPP_DEREF) in cp_parser_postfix_dot_deref_expression()
7879 (parser, token_type == CPP_DEREF ? NIC_ARROW : NIC_POINT))) in cp_parser_postfix_dot_deref_expression()
/netbsd-src/external/gpl2/groff/dist/
H A DChangeLog.1171563 * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dparser.cc1972 enum cpp_ttype token_type; member
4204 binops_by_token[binops[i].token_type] = binops[i]; in cp_parser_new()
8183 enum cpp_ttype token_type, in cp_parser_postfix_dot_deref_expression() argument
8195 if (token_type == CPP_DEREF) in cp_parser_postfix_dot_deref_expression()
8374 (parser, token_type == CPP_DEREF ? NIC_ARROW : NIC_POINT))) in cp_parser_postfix_dot_deref_expression()

12