Home
last modified time | relevance | path

Searched refs:tok_kind (Results 1 – 13 of 13) sorted by relevance

/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/rpcgen/
H A Drpc_scan.h45 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 Drpc_util.h120 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 Drpc_util.c77 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 Drpc_scan.c77 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 Dlexer.c565 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 Dparse.c481 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 Dlexer.h181 mp_token_kind_t tok_kind; // token kind member
/dports/devel/creduce/creduce-2.10.0/clex/
H A Ddefs.h25 enum tok_kind { enum
37 void process_token(enum tok_kind);
H A Ddriver.c22 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 Dast.v391 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 Dscanner.v156 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 Dparser.v877 tok_kind: p.tok.kind
894 tok_kind: p.tok.kind
/dports/lang/v/v-0.1.29/vlib/v/checker/
H A Dchecker.v2591 if ident.tok_kind == .assign {