Home
last modified time | relevance | path

Searched refs:LITERAL_NUMBER (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/token/
Dtoken.h88 ASSERT(type_ == TokenType::LITERAL_NUMBER && (flags_ & TokenFlags::NUMBER_BIGINT)); in DEFINE_BITOPS()
94 ASSERT(type_ == TokenType::LITERAL_NUMBER && !(flags_ & TokenFlags::NUMBER_BIGINT)); in DEFINE_BITOPS()
100 ASSERT(type_ == TokenType::LITERAL_STRING || type_ == TokenType::LITERAL_NUMBER); in DEFINE_BITOPS()
DtokenType.h26 LITERAL_NUMBER, enumerator
Dtoken.cpp70 return (type_ == TokenType::LITERAL_STRING || type_ == TokenType::LITERAL_NUMBER || in IsPropNameLiteral()
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp223 GetToken().type_ = TokenType::LITERAL_NUMBER; in ScanNumberLeadingZero()
363 GetToken().type_ = TokenType::LITERAL_NUMBER; in ScanNumber()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp291 case lexer::TokenType::LITERAL_NUMBER: in CurrentIsBasicType()
566 case lexer::TokenType::LITERAL_NUMBER: in ParseTsTypeAnnotationElement()
1287 } else if (lexer_->GetToken().Type() == lexer::TokenType::LITERAL_NUMBER) { in ParseTsTypeLiteralOrInterfaceKey()
1864 if (lexer_->GetToken().Type() != lexer::TokenType::LITERAL_NUMBER) { in ParseTsBasicType()
1872 if (lexer_->GetToken().Type() == lexer::TokenType::LITERAL_NUMBER) { in ParseTsBasicType()
2239 case lexer::TokenType::LITERAL_NUMBER: { in ParseClassKey()
DexpressionParser.cpp1033 case lexer::TokenType::LITERAL_NUMBER: { in ParsePrimaryExpression()
2044 case lexer::TokenType::LITERAL_NUMBER: { in ParsePropertyKey()