Home
last modified time | relevance | path

Searched defs:tokenType (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/lexer/
Dkeywords.cpp23 TokenType tokenType) in Handle_as()
28 …tring JSKeywords::Handle_await(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_await()
41 …tring JSKeywords::Handle_yield(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_yield()
54 …rdString TSKeywords::Handle_as(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_as()
59 …tring TSKeywords::Handle_await(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_await()
64 …tring TSKeywords::Handle_yield(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_yield()
69 …rdString ASKeywords::Handle_as(const KeywordsUtil &util, std::string_view src, TokenType tokenType) in Handle_as()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserExpressions.cpp429 bool IsPunctuartorSpecialCharacter(lexer::TokenType tokenType) in IsPunctuartorSpecialCharacter()
448 bool TypedParser::IsValidTokenTypeOfArrowFunctionStart(lexer::TokenType tokenType) in IsValidTokenTypeOfArrowFunctionStart()
458 auto tokenType = lexer->GetToken().Type(); in EatArrowFunctionParams() local
511 auto tokenType = Lexer()->GetToken().Type(); in IsArrowFunctionExpressionStart() local
806 lexer::TokenType tokenType = Lexer()->GetToken().Type(); in ValidateInstanceOfExpression() local
DETSparserJsDocInfo.cpp168 auto tokenType = Lexer()->GetToken().Type(); in ParseJsDocInfo() local
DETSparserTypes.cpp130 …:TypeNode *ETSParser::GetTypeAnnotationOfPrimitiveType([[maybe_unused]] lexer::TokenType tokenType, in GetTypeAnnotationOfPrimitiveType()
318 auto tokenType = Lexer()->GetToken().Type(); in GetTypeAnnotationFromToken() local
DexpressionParser.cpp495 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ValidateGroupedExpression() local
578 … ir::Expression *lhsExpression, lexer::TokenType tokenType) in CreateBinaryAssignmentExpression()
592 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ParseAssignmentExpression() local
643 ir::Expression *ParserImpl::ParseAssignmentBinaryExpression(const lexer::TokenType tokenType, in ParseAssignmentBinaryExpression()
688 ir::Expression *ParserImpl::ParseAssignmentEqualExpression(const lexer::TokenType tokenType, in ParseAssignmentEqualExpression()
1456 const auto tokenType = lexer_->GetToken().Type(); in ParseOptionalChain() local
1687const lexer::TokenType tokenType, bool *isChainExpression) in ParsePostPrimaryExpressionDot()
DstatementParser.cpp154 const auto tokenType = lexer_->GetToken().Type(); in ParseStatement() local
400 auto tokenType = token.Type(); in ConsumeSemicolon() local
720 auto tokenType = lexer_->GetToken().Type(); in ParseExpressionStatement() local
960 lexer::TokenType tokenType; in ParseForLoopInitializer() local
1326 …if (auto const tokenType = lexer_->GetToken().Type(); tokenType == lexer::TokenType::LITERAL_IDENT… in ParseCatchParam() local
DparserImpl.cpp1256 auto const tokenType = token.Type(); in ExpectIdentifier() local
1301 void ParserImpl::ExpectToken(lexer::TokenType tokenType, bool consumeToken) in ExpectToken()
1336 void ParserImpl::LogUnexpectedToken(lexer::TokenType tokenType) in LogUnexpectedToken()
1348 void ParserImpl::LogExpectedToken(lexer::TokenType tokenType) in LogExpectedToken()
DETSparser.cpp715 auto tokenType = Lexer()->GetToken().Type(); in ParseTypeDeclaration() local
1115 [[maybe_unused]] auto tokenType = Lexer()->GetToken().Type(); in ParseExport() local
1377 bool TypedParser::IsPrimitiveType(const lexer::TokenType &tokenType) in IsPrimitiveType()
1759 …if (auto const tokenType = Lexer()->GetToken().Type(); tokenType == lexer::TokenType::PUNCTUATOR_C… in ParseVariableDeclaratorKey() local
DETSparserClasses.cpp1236 bool ETSParser::IsFieldStartToken(lexer::TokenType tokenType) in IsFieldStartToken()
1421 const auto tokenType = Lexer()->GetToken().KeywordType(); in ParseMemberModifiers() local
DETSFormattedParser.cpp461 switch (auto tokenType = Lexer()->GetToken().Type(); tokenType) { in CreateClassDeclaration() local
DTSparser.cpp763 ir::MappedOption TSParser::ParseMappedOption(lexer::TokenType tokenType) in ParseMappedOption()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
DassignmentExpression.h106 lexer::TokenType SetOperatorType(lexer::TokenType tokenType) noexcept in SetOperatorType()
/arkcompiler/ets_frontend/es2panda/parser/
DexpressionParser.cpp725 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ParseAssignmentExpression() local
1362 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ParseOptionalChain() local
1414 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ParseOptionalMemberExpression() local
DparserImpl.cpp1208 ir::MappedOption ParserImpl::ParseMappedOption(lexer::TokenType tokenType) in ParseMappedOption()
4236 lexer::TokenType tokenType = lexer_->GetToken().Type(); in ParseFunctionParameter() local
/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dhelpers.cpp425 …Checker::HandleBooleanLogicalOperators(Type *leftType, Type *rightType, lexer::TokenType tokenType) in HandleBooleanLogicalOperators()