Home
last modified time | relevance | path

Searched refs:GetExpression (Results 1 - 25 of 31) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DobjectLiteralLowering.cpp36 !stmt->AsExpressionStatement()->GetExpression()->IsAssignmentExpression()) { in MaybeAllowConstAssign()
40 auto *const assignmentExpr = stmt->AsExpressionStatement()->GetExpression()->AsAssignmentExpression(); in MaybeAllowConstAssign()
57 !stmt->AsExpressionStatement()->GetExpression()->IsAssignmentExpression()) { in RestoreNestedBlockExpression()
61 auto *assign = stmt->AsExpressionStatement()->GetExpression()->AsAssignmentExpression(); in RestoreNestedBlockExpression()
95 !stmt->AsExpressionStatement()->GetExpression()->IsAssignmentExpression() || in AllowRequiredTypeInstantiation()
96 !stmt->AsExpressionStatement()->GetExpression()->AsAssignmentExpression()->Right()->IsBlockExpression()) { in AllowRequiredTypeInstantiation()
101 stmt->AsExpressionStatement()->GetExpression()->AsAssignmentExpression()->Right()->AsBlockExpression()); in AllowRequiredTypeInstantiation()
H A DoptionalLowering.cpp72 stmts[1]->AsExpressionStatement()->GetExpression()->AsConditionalExpression()->SetAlternate(chain->GetExpression()); in LowerOptionalExpr()
114 auto optional = FindOptionalInChain(chain->GetExpression());
H A DopAssignment.cpp85 exprToProcess = statement->AsExpressionStatement()->GetExpression(); in AdjustBoxingUnboxingFlags()
H A DlocalClassLowering.cpp160 auto *fieldInit = initStatement->AsExpressionStatement()->GetExpression()->AsAssignmentExpression(); in ModifyConstructorParameters()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DexpressionStatement.h38 const Expression *GetExpression() const in GetExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ExpressionStatement
43 Expression *GetExpression() in GetExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ExpressionStatement
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DexpressionStatement.h28 const Expression *GetExpression() const in GetExpression() function in ark::es2panda::ir::ExpressionStatement
33 Expression *GetExpression() in GetExpression() function in ark::es2panda::ir::ExpressionStatement
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsTypeAssertion.h44 const Expression *GetExpression() const in GetExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSTypeAssertion
49 Expression *GetExpression() in GetExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSTypeAssertion
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
H A Dast_verifier_protected_access_negative_test_4_6.cpp60 ->GetExpression() in TEST_F()
113 ->GetExpression() in TEST_F()
166 ->GetExpression() in TEST_F()
H A Dast_verifier_private_access_negative_test_5_7.cpp60 ->GetExpression() in TEST_F()
113 ->GetExpression() in TEST_F()
166 ->GetExpression() in TEST_F()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DchainExpression.h43 const Expression *GetExpression() const noexcept
48 Expression *GetExpression() noexcept
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DchainExpression.h40 const Expression *GetExpression() const in GetExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ChainExpression
H A DcallExpression.cpp150 realCallee = realCallee->AsTSTypeAssertion()->GetExpression(); in Compile()
179 hasThis = realCallee->AsChainExpression()->GetExpression()->IsMemberExpression(); in Compile()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsTypeAssertion.h29 const Expression *GetExpression() const in GetExpression() function in ark::es2panda::ir::TSTypeAssertion
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dobject.cpp1144 return stmt->IsExpressionStatement() && stmt->AsExpressionStatement()->GetExpression()->IsCallExpression() &&
1145 stmt->AsExpressionStatement()->GetExpression()->AsCallExpression()->Callee()->IsThisExpression();
1153 return stmt->IsExpressionStatement() && stmt->AsExpressionStatement()->GetExpression()->IsCallExpression() &&
1154 stmt->AsExpressionStatement()->GetExpression()->AsCallExpression()->Callee()->IsSuperExpression();
1177 if (it->IsExpressionStatement() && it->AsExpressionStatement()->GetExpression()->IsCallExpression() &&
1178 (it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Callee()->IsThisExpression() ||
1179 it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Callee()->IsSuperExpression())) {
1183 it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Arguments().begin(),
1184 it->AsExpressionStatement()->GetExpression()->AsCallExpression()->Arguments().end());
1325 first->IsExpressionStatement() && first->AsExpressionStatement()->GetExpression()
[all...]
H A DassignAnalyzer.cpp266 AnalyzeNode(node->AsExpressionStatement()->GetExpression()); in AnalyzeStmtNode1()
564 funcBody->Statements()[0]->AsExpressionStatement()->GetExpression()->IsCallExpression() && in IsInitialConstructor()
567 ->GetExpression() in IsInitialConstructor()
H A DetsWarningAnalyzer.cpp204 CheckTopLevelExpressions(statement->AsExpressionStatement()->GetExpression()); in ETSWarningsProhibitTopLevelStatements()
H A DaliveAnalyzer.cpp68 AnalyzeNode(node->AsExpressionStatement()->GetExpression()); in AnalyzeNode()
/arkcompiler/ets_frontend/ets2panda/evaluate/
H A DscopedDebugInfoPlugin.cpp71 auto *exprInit = lastStatement->AsExpressionStatement()->GetExpression(); in BreakLastStatement()
133 auto *returnType = lastStatement->GetExpression()->TsType(); in InsertReturnStatement()
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dlreference.cpp203 return LReference::CreateLRef(pg, node->AsTSTypeAssertion()->GetExpression(), isDeclaration); in CreateLRef()
/arkcompiler/ets_frontend/es2panda/util/
H A Dhelpers.cpp839 auto *expr = stmt->AsExpressionStatement()->GetExpression(); in ScanDirectives()
931 if (!statement->AsExpressionStatement()->GetExpression()->IsStringLiteral()) { in IsUseShared()
935 return statement->AsExpressionStatement()->GetExpression()->AsStringLiteral()->Str().Is(USE_SHARED); in IsUseShared()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSFormattedParser.cpp488 returnExpression = statements.back()->AsExpressionStatement()->GetExpression(); in CreateFormattedExpression()
/arkcompiler/toolchain/tooling/base/
H A Dpt_params.h96 const std::string &GetExpression() const in GetExpression() function in panda::ecmascript::tooling::EvaluateOnCallFrameParams
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp458 sequence.push_back(it->GetExpression()); in VisitClassExpression()
461 sequence.push_back(it->GetExpression()); in VisitClassExpression()
613 (*iter)->AsExpressionStatement()->GetExpression()->IsStringLiteral()) { in GetInsertPosForConstructor()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp642 expr->GetExpression()->Compile(pg); in Compile()
1343 st->GetExpression()->Compile(pg); in Compile()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp3440 (*iter)->AsExpressionStatement()->GetExpression()->IsCallExpression() && in ValidateSuperCallLocation()
3441 (*iter)->AsExpressionStatement()->GetExpression()->AsCallExpression()->Callee()->IsSuperExpression()) { in ValidateSuperCallLocation()
4239 ValidateLvalueAssignmentTarget(node->AsTSTypeAssertion()->GetExpression()); in ValidateLvalueAssignmentTarget()

Completed in 30 milliseconds

12