Searched refs:tok_kind (Results 1 – 13 of 13) sorted by relevance
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/rpcgen/ |
H A D | rpc_scan.h | 45 enum tok_kind { enum 87 typedef enum tok_kind tok_kind; typedef 93 tok_kind kind; 102 void scan(tok_kind, token *); 103 void scan2(tok_kind, tok_kind, token *); 104 void scan3(tok_kind, tok_kind, tok_kind, token *); 107 int peekscan(tok_kind, token *);
|
H A D | rpc_util.h | 120 void expected1(tok_kind) __dead; 121 void expected2(tok_kind, tok_kind) __dead; 122 void expected3(tok_kind, tok_kind, tok_kind) __dead;
|
H A D | rpc_util.c | 77 static const char *toktostr(tok_kind); 301 expected1(tok_kind exp1) in expected1() 309 expected2(tok_kind exp1, tok_kind exp2) in expected2() 319 expected3(tok_kind exp1, tok_kind exp2, tok_kind exp3) in expected3() 374 toktostr(tok_kind kind) in toktostr()
|
H A D | rpc_scan.c | 77 scan(tok_kind expect, token *tokp) in scan() 88 scan2(tok_kind expect1, tok_kind expect2, token *tokp) in scan2() 99 scan3(tok_kind expect1, tok_kind expect2, tok_kind expect3, token *tokp) in scan3() 134 peekscan(tok_kind expect, token *tokp) in peekscan()
|
/dports/lang/micropython/micropython-1.17/py/ |
H A D | lexer.c | 565 lex->tok_kind = MP_TOKEN_DEDENT; in mp_lexer_to_next() 569 lex->tok_kind = MP_TOKEN_INDENT; in mp_lexer_to_next() 573 lex->tok_kind = MP_TOKEN_NEWLINE; in mp_lexer_to_next() 591 lex->tok_kind = MP_TOKEN_END; in mp_lexer_to_next() 603 lex->tok_kind = MP_TOKEN_END; in mp_lexer_to_next() 650 lex->tok_kind = kind; in mp_lexer_to_next() 673 lex->tok_kind = MP_TOKEN_NAME; in mp_lexer_to_next() 709 lex->tok_kind = MP_TOKEN_INTEGER; in mp_lexer_to_next() 803 …if (lex->tok_kind == MP_TOKEN_DEL_PAREN_OPEN || lex->tok_kind == MP_TOKEN_DEL_BRACKET_OPEN || lex-… in mp_lexer_to_next() 805 …} else if (lex->tok_kind == MP_TOKEN_DEL_PAREN_CLOSE || lex->tok_kind == MP_TOKEN_DEL_BRACKET_CLOS… in mp_lexer_to_next() [all …]
|
H A D | parse.c | 481 if (lex->tok_kind == MP_TOKEN_NAME) { in push_result_token() 500 } else if (lex->tok_kind == MP_TOKEN_INTEGER) { in push_result_token() 507 } else if (lex->tok_kind == MP_TOKEN_FLOAT_OR_IMAG) { in push_result_token() 510 } else if (lex->tok_kind == MP_TOKEN_STRING || lex->tok_kind == MP_TOKEN_BYTES) { in push_result_token() 949 if (lex->tok_kind == tok_kind) { in mp_parse() 951 if (tok_kind == MP_TOKEN_NAME) { in mp_parse() 1001 if (tok_kind == MP_TOKEN_NAME) { in mp_parse() 1149 if (lex->tok_kind == MP_TOKEN_INDENT) { in mp_parse() 1152 } else if (lex->tok_kind == MP_TOKEN_DEDENT_MISMATCH) { in mp_parse() 1156 } else if (lex->tok_kind == MP_TOKEN_MALFORMED_FSTRING) { in mp_parse() [all …]
|
H A D | lexer.h | 181 mp_token_kind_t tok_kind; // token kind member
|
/dports/devel/creduce/creduce-2.10.0/clex/ |
H A D | defs.h | 25 enum tok_kind { enum 37 void process_token(enum tok_kind);
|
H A D | driver.c | 22 enum tok_kind kind; 31 static int add_tok(char *str, enum tok_kind kind) { in add_tok() 47 void process_token(enum tok_kind kind) { in process_token()
|
/dports/lang/v/v-0.1.29/vlib/v/ast/ |
H A D | ast.v | 391 tok_kind token.Kind 454 tok_kind token.Kind 496 tok_kind token.Kind
|
/dports/lang/v/v-0.1.29/vlib/v/scanner/ |
H A D | scanner.v | 156 fn (mut s Scanner) new_token(tok_kind token.Kind, lit string, len int) token.Token { 160 kind: tok_kind 1337 tok_kind := tok.kind 1339 print(tok_kind.str()) 1345 if tok_kind == .eof {
|
/dports/lang/v/v-0.1.29/vlib/v/parser/ |
H A D | parser.v | 877 tok_kind: p.tok.kind 894 tok_kind: p.tok.kind
|
/dports/lang/v/v-0.1.29/vlib/v/checker/ |
H A D | checker.v | 2591 if ident.tok_kind == .assign {
|