Searched refs:asExpression (Results 1 - 9 of 9) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | unionLowering.cpp | 126 auto *const asExpression = checker->AllocNode<ir::TSAsExpression>(node, typeNode, false); in GenAsExpression() local 127 asExpression->SetParent(parent); in GenAsExpression() 128 asExpression->Check(checker); in GenAsExpression() 129 return asExpression; in GenAsExpression()
|
H A D | enumLowering.cpp | 523 auto asExpression = checker_->AllocNode<ir::TSAsExpression>(enumMemberExpr, intType, false); 526 newExprArgs.push_back(asExpression); 591 auto asExpression = checker->AllocNode<ir::TSAsExpression>(paramRefIdent, intType, false); 592 paramRefIdent->SetParent(asExpression); 595 arrayIdentifier, asExpression, ir::MemberExpressionKind::ELEMENT_ACCESS, true, false); 798 auto asExpression = checker->AllocNode<ir::TSAsExpression>(forLoopIdentClone2, enumTypeAnnotation, false); 800 auto *const returnStmt = checker->AllocNode<ir::ReturnStatement>(asExpression);
|
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/ |
H A D | methodBuilder.cpp | 70 auto *asExpression = checker->AllocNode<ir::TSAsExpression>(callExpression, type->Clone(allocator, nullptr), false); in CreateTypedReturnStatement() local 71 return checker->AllocNode<ir::ReturnStatement>(asExpression); in CreateTypedReturnStatement()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserExpressions.cpp | 578 auto *asExpression = AllocNode<ir::TSAsExpression>(primaryExpr, type, false); in ParsePotentialAsExpression() local 579 asExpression->SetRange(primaryExpr->Range()); in ParsePotentialAsExpression() 580 return asExpression; in ParsePotentialAsExpression()
|
H A D | expressionParser.cpp | 611 if (auto asExpression = ParsePotentialAsExpression(lhsExpression); asExpression != nullptr) { in ParseAssignmentExpression() 612 return ParseAssignmentExpression(asExpression); in ParseAssignmentExpression() 1221 static inline bool ShouldAsExpressionBeAmended(const ir::TSAsExpression *const asExpression, in ShouldAsExpressionBeAmended() argument 1225 !asExpression->IsGrouped() && operatorType != lexer::TokenType::PUNCTUATOR_EXPONENTIATION; in ShouldAsExpressionBeAmended() 1617 if (auto *asExpression = ParsePotentialAsExpression(returnExpr); asExpression != nullptr) { in ParsePostPrimaryExpression() 1618 return asExpression; in ParsePostPrimaryExpression()
|
H A D | ETSparser.cpp | 1815 auto *asExpression = AllocNode<ir::TSAsExpression>(number, floatType, true); in ParseCoercedNumberLiteral() local 1816 asExpression->SetRange(Lexer()->GetToken().Loc()); in ParseCoercedNumberLiteral() 1819 return asExpression; in ParseCoercedNumberLiteral()
|
H A D | ASparser.cpp | 842 auto *asExpression = AllocNode<ir::TSAsExpression>(primaryExpression, type, false); in ParsePotentialAsExpression() local 843 return asExpression; in ParsePotentialAsExpression()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSGen.cpp | 1232 const auto *const asExpression = node->Parent()->AsTSAsExpression(); in EmitUnboxEnum() local 1233 enumType = asExpression->TsType(); in EmitUnboxEnum()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | expressionParser.cpp | 855 ir::Expression *asExpression = ParseTsAsExpression(lhsExpression, flags); in ParseAssignmentExpression() local 856 return ParseAssignmentExpression(asExpression); in ParseAssignmentExpression()
|
Completed in 20 milliseconds