Home
last modified time | relevance | path

Searched refs:LITERAL_IDENT (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/token/
Dtoken.cpp24 return (type_ == TokenType::LITERAL_IDENT && in IsAccessability()
32 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_ASYNC && in IsAsyncModifier()
38 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_STATIC && in IsStaticModifier()
44 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_DECLARE && in IsDeclareModifier()
50 return (type_ == TokenType::LITERAL_IDENT && keywordType_ == TokenType::KEYW_READONLY && in IsReadonlyModifier()
DtokenType.h24 LITERAL_IDENT, enumerator
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp104 case lexer::TokenType::LITERAL_IDENT: { in CheckDeclare()
141 case lexer::TokenType::LITERAL_IDENT: { in IsLabelFollowedByIterationStatement()
166 (lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT || in IsTsDeclarationStatement()
171 … isTsDeclarationStatement = lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT || in IsTsDeclarationStatement()
179 lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT; in IsTsDeclarationStatement()
299 case lexer::TokenType::LITERAL_IDENT: { in ParseStatement()
377 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsModuleOrNamespaceDelaration()
456 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsImportEqualsDeclaration()
469 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsImportEqualsDeclaration()
507 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsNamespaceExportDeclaration()
[all …]
DparserImpl.cpp264 ASSERT(lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT || in CurrentLiteralIsBasicType()
299 case lexer::TokenType::LITERAL_IDENT: { in CurrentIsBasicType()
358 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in IsStartOfMappedType()
373 ASSERT(lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT || in IsStartOfTsTypePredicate()
382 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT && in IsStartOfTsTypePredicate()
601 case lexer::TokenType::LITERAL_IDENT: { in ParseTsTypeAnnotationElement()
671 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsImportType()
868 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in IsTSNamedTupleMember()
1006 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsQualifiedReference()
1064 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParseTsTypeReferenceOrQuery()
[all …]
DexpressionParser.cpp149 …tension() == ScriptExtension::TS && lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT && in ParseTsAsExpression()
826 case lexer::TokenType::LITERAL_IDENT: { in ParseAssignmentExpression()
972 …if (lexer_->GetToken().Type() == lexer::TokenType::LITERAL_IDENT && lexer_->GetToken().Ident().Is(… in ParsePotentialNewTarget()
997 case lexer::TokenType::LITERAL_IDENT: { in ParsePrimaryExpression()
1351 case lexer::TokenType::LITERAL_IDENT: in ParseOptionalChain()
1383 ASSERT(tokenType == lexer::TokenType::LITERAL_IDENT || in ParseOptionalMemberExpression()
1386 if (tokenType == lexer::TokenType::LITERAL_IDENT) { in ParseOptionalMemberExpression()
1422 case lexer::TokenType::LITERAL_IDENT: { in ParsePotentialArrowExpression()
1585 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_IDENT) { in ParsePostPrimaryExpression()
1814 case lexer::TokenType::LITERAL_IDENT: { in ParsePatternElement()
[all …]
/arkcompiler/ets_frontend/es2panda/lexer/
DkeywordsUtil.h78 lexer_->GetToken().type_ = TokenType::LITERAL_IDENT; in SetKeyword()
Dlexer.cpp1175 GetToken().type_ = TokenType::LITERAL_IDENT; in CheckAwaitKeyword()
1205 GetToken().type_ = TokenType::LITERAL_IDENT; in CheckEnumKeyword()
1224 GetToken().type_ = TokenType::LITERAL_IDENT; in CheckFutureReservedKeyword()
DkeywordsUtil.cpp245 lexer_->GetToken().type_ = TokenType::LITERAL_IDENT; in ScanIdContinue()
Dlexer.h407 GetToken().type_ = TokenType::LITERAL_IDENT; in CheckKeyword()