Searched refs:keyword_type (Results 1 – 13 of 13) sorted by relevance
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-lexer.c | 773 context_p->token.keyword_type = LEXER_EOS; in lexer_parse_identifier() 816 context_p->token.keyword_type = (uint8_t) keyword_p->type; in lexer_parse_identifier() 1273 context_p->token.keyword_type = LEXER_EOS; in lexer_parse_number() 2017 && context_p->token.keyword_type == LEXER_KEYW_YIELD) in lexer_update_await_yield() 2026 JERRY_ASSERT (context_p->token.keyword_type == LEXER_KEYW_YIELD); in lexer_update_await_yield() 2037 && context_p->token.keyword_type == LEXER_KEYW_AWAIT) in lexer_update_await_yield() 2046 JERRY_ASSERT (context_p->token.keyword_type == LEXER_KEYW_AWAIT); in lexer_update_await_yield() 2877 context_p->token.keyword_type = LEXER_EOS; in lexer_construct_regexp_object() 2918 if (context_p->token.keyword_type == LEXER_KEYW_EVAL) in lexer_expect_identifier() 2922 else if (context_p->token.keyword_type == LEXER_KEYW_ARGUMENTS) in lexer_expect_identifier() [all …]
|
D | js-lexer.h | 298 uint8_t keyword_type; /**< keyword type for identifiers */ member
|
D | js-parser-expr.c | 1243 if (context_p->token.keyword_type >= LEXER_FIRST_NON_STRICT_ARGUMENTS) in parser_parse_function_expression() 1364 context_p->last_cbc.literal_keyword_type = context_p->token.keyword_type; in parser_parse_template_literal() 1701 if (context_p->token.keyword_type != LEXER_KEYW_EVAL) in parser_parse_unary_expression() 1708 context_p->last_cbc.literal_keyword_type = context_p->token.keyword_type; in parser_parse_unary_expression() 1717 context_p->last_cbc.literal_keyword_type = context_p->token.keyword_type; in parser_parse_unary_expression() 2938 && context_p->token.keyword_type == LEXER_KEYW_LET) in parser_pattern_process_assignment()
|
D | js-scanner-ops.c | 407 if (context_p->token.keyword_type == LEXER_KEYW_EVAL in scanner_scan_bracket()
|
D | js-parser-module.c | 370 || context_p->token.keyword_type >= LEXER_FIRST_FUTURE_STRICT_RESERVED_WORD) in parser_module_parse_export_clause()
|
D | js-parser-util.c | 365 context_p->last_cbc.literal_keyword_type = context_p->token.keyword_type; in parser_emit_cbc_literal_from_token()
|
D | js-parser-statm.c | 530 && context_p->token.keyword_type == LEXER_KEYW_LET) in parser_parse_var_statement() 715 if (context_p->token.keyword_type >= LEXER_FIRST_NON_STRICT_ARGUMENTS) in parser_parse_function_statement()
|
D | js-scanner-util.c | 1286 if (context_p->token.keyword_type == LEXER_KEYW_EVAL in scanner_detect_eval_call()
|
D | js-parser.c | 1842 if (context_p->token.keyword_type >= LEXER_FIRST_NON_STRICT_ARGUMENTS) in parser_parse_function_arguments()
|
/third_party/python/Tools/peg_generator/pegen/ |
D | c_generator.py | 121 self.keyword_cache[keyword] = self.gen.keyword_type() 458 for keyword_str, keyword_type in self.callmakervisitor.keyword_cache.items(): 461 groups[length].append((keyword_str, keyword_type)) 463 groups[length] = [(keyword_str, keyword_type)] 482 for keyword_str, keyword_type in groups[keywords_length]:
|
D | parser_generator.py | 110 def keyword_type(self) -> int: member in ParserGenerator
|
/third_party/python/Include/internal/ |
D | pycore_ast_state.h | 199 PyObject *keyword_type; member
|
/third_party/python/Python/ |
D | Python-ast.c | 213 Py_CLEAR(state->keyword_type); in _PyAST_Fini() 1732 state->keyword_type = make_type(state, "keyword", state->AST_type, in init_types() 1735 if (!state->keyword_type) return 0; in init_types() 1736 if (!add_attributes(state, state->keyword_type, keyword_attributes, 4)) in init_types() 1738 if (PyObject_SetAttr(state->keyword_type, state->arg, Py_None) == -1) in init_types() 1740 if (PyObject_SetAttr(state->keyword_type, state->end_lineno, Py_None) == -1) in init_types() 1742 if (PyObject_SetAttr(state->keyword_type, state->end_col_offset, Py_None) in init_types() 4989 tp = (PyTypeObject *)state->keyword_type; in ast2obj_keyword() 11930 if (PyModule_AddObjectRef(m, "keyword", state->keyword_type) < 0) { in astmodule_exec()
|