Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/ir/expressions/
DunaryExpression.cpp166 if (operator_ == lexer::TokenType::PUNCTUATOR_MINUS) { in Check()
169 } else if (lit->IsBigIntLiteral() && operator_ == lexer::TokenType::PUNCTUATOR_MINUS) { in Check()
176 case lexer::TokenType::PUNCTUATOR_MINUS: in Check()
DbinaryExpression.cpp108 case lexer::TokenType::PUNCTUATOR_MINUS: in Check()
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dtoken.cpp61 return (type_ == TokenType::PUNCTUATOR_MINUS || type_ == TokenType::PUNCTUATOR_PLUS || in IsUnary()
154 case TokenType::PUNCTUATOR_MINUS: in TokenToString()
DtokenType.h51 PUNCTUATOR_MINUS, enumerator
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsAsExpression.cpp60 return (op == lexer::TokenType::PUNCTUATOR_MINUS && unaryArg->IsLiteral() && in IsValidConstAssertionArgument()
DtsEnumDeclaration.cpp116 case lexer::TokenType::PUNCTUATOR_MINUS: { in EvaluateUnaryExpression()
181 case lexer::TokenType::PUNCTUATOR_MINUS: { in EvaluateBinaryExpression()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp290 case lexer::TokenType::PUNCTUATOR_MINUS: in CurrentIsBasicType()
339 if (lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATOR_MINUS || in IsStartOfMappedType()
565 case lexer::TokenType::PUNCTUATOR_MINUS: in ParseTsTypeAnnotationElement()
1148 if (lexer_->GetToken().Type() != lexer::TokenType::PUNCTUATOR_MINUS && in ParseMappedOption()
1154 …auto result = lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATOR_MINUS ? ir::MappedOption::… in ParseMappedOption()
1157 if (lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATOR_MINUS || in ParseMappedOption()
1861 if (lexer_->GetToken().Type() == lexer::TokenType::PUNCTUATOR_MINUS) { in ParseTsBasicType()
DexpressionParser.cpp778 case lexer::TokenType::PUNCTUATOR_MINUS: in ParseAssignmentExpression()
1195 case lexer::TokenType::PUNCTUATOR_MINUS: { in GetOperatorPrecedence()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp630 } else if (unaryExpression->OperatorType() == lexer::TokenType::PUNCTUATOR_MINUS) { in GetSignedNumberLiteral()
/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.cpp878 GetToken().type_ = TokenType::PUNCTUATOR_MINUS; in ScanMinusPunctuator()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp855 case lexer::TokenType::PUNCTUATOR_MINUS: { in Unary()
930 case lexer::TokenType::PUNCTUATOR_MINUS: in Binary()