Home
last modified time | relevance | path

Searched refs:current_token (Results 1 – 11 of 11) sorted by relevance

/third_party/PyYAML/yaml/
D_yaml.pyx251 cdef object current_token
291 self.current_token = None
453 if self.current_token is not None:
454 value = self.current_token
455 self.current_token = None
461 if self.current_token is None:
462 self.current_token = self._scan()
463 return self.current_token
466 if self.current_token is None:
467 self.current_token = self._scan()
[all …]
/third_party/python/Parser/
Dpegen_errors.c163 Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1]; in _PyPegen_tokenize_full_source_to_check_for_errors() local
164 Py_ssize_t current_err_line = current_token->lineno; in _PyPegen_tokenize_full_source_to_check_for_errors()
Dpegen.c1306 Token *current_token = p->known_err_token != NULL ? p->known_err_token : p->tokens[p->fill - 1]; in _PyPegen_check_tokenizer_errors() local
1307 Py_ssize_t current_err_line = current_token->lineno; in _PyPegen_check_tokenizer_errors()
/third_party/python/Lib/
Dfunctools.py827 current_token = get_cache_token()
828 if cache_token != current_token:
830 cache_token = current_token
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-statm.c1073 lexer_token_t current_token; in parser_parse_while_statement_end() local
1088 current_token = context_p->token; in parser_parse_while_statement_end()
1124 context_p->token = current_token; in parser_parse_while_statement_end()
1565 lexer_token_t current_token; in parser_parse_for_statement_end() local
1593 current_token = context_p->token; in parser_parse_for_statement_end()
1667 context_p->token = current_token; in parser_parse_for_statement_end()
/third_party/googletest/googlemock/scripts/generator/cpp/
Dast.py703 self.current_token = None
721 self.current_token = token
1670 return Return(self.current_token.start, self.current_token.end, None)
/third_party/node/deps/v8/src/parsing/
Dpreparser.cc33 switch (scanner->current_token()) { in GetIdentifierHelper()
Dparser-base.h922 if (scanner()->current_token() == Token::AWAIT && !is_async_function()) { in ExpectSemicolon()
956 ReportUnexpectedToken(scanner()->current_token());
1006 DCHECK(Token::IsTemplate(scanner()->current_token())); in CheckTemplateEscapes()
1690 DCHECK_EQ(scanner()->current_token(), next); in ParseAndClassifyIdentifier()
3422 scanner()->current_token() == Token::ASYNC && in ParseLeftHandSideContinuation()
3504 if (Token::IsCallable(scanner()->current_token())) { in ParseLeftHandSideContinuation()
3837 if (scanner()->current_token() == Token::IDENTIFIER) { in DoParseMemberExpressionContinuation()
4066 Token::IsAnyIdentifier(scanner()->current_token())); in ParseVariableDeclarations()
4296 DCHECK_EQ(scanner()->current_token(), Token::ASYNC); in ParseAsyncFunctionDeclaration()
4681 Token::IsStrictReservedWord(scanner()->current_token()); in ParseClassExpression()
[all …]
Dscanner.h288 Token::Value current_token() const { return current().token; } in current_token() function
Dparser.cc1321 if (!Token::IsValidIdentifier(scanner()->current_token(), in ParseNamedImports()
1481 ReportUnexpectedToken(scanner()->current_token()); in ParseImportDeclaration()
1760 ReportUnexpectedToken(scanner()->current_token()); in ParseExportDeclaration()
2839 scanner()->current_token() == Token::ARROW); in SkipFunction()
/third_party/node/deps/v8/src/ic/
Daccessor-assembler.cc1160 TNode<Object> current_token = in EmitAccessCheck() local
1162 Branch(TaggedEqual(expected_token, current_token), can_access, miss); in EmitAccessCheck()