Home
last modified time | relevance | path

Searched refs:ThisExpression (Results 1 - 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DthisExpression.cpp28 void ThisExpression::TransformChildren([[maybe_unused]] const NodeTransformer &cb, in TransformChildren()
33 void ThisExpression::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate()
35 void ThisExpression::Dump(ir::AstDumper *dumper) const in Dump()
37 dumper->Add({{"type", "ThisExpression"}}); in Dump()
40 void ThisExpression::Dump(ir::SrcDumper *dumper) const in Dump()
45 void ThisExpression::Compile(compiler::PandaGen *pg) const in Compile()
50 void ThisExpression::Compile(compiler::ETSGen *etsg) const in Compile()
55 checker::Type *ThisExpression::Check(checker::TSChecker *checker) in Check()
60 checker::Type *ThisExpression::Check(checker::ETSChecker *checker) in Check()
65 ThisExpression *ThisExpressio
[all...]
H A DthisExpression.h22 class ThisExpression : public Expression { class
24 ~ThisExpression() override = default;
26 NO_COPY_SEMANTIC(ThisExpression);
27 NO_MOVE_SEMANTIC(ThisExpression);
29 explicit ThisExpression() : Expression(AstNodeType::THIS_EXPRESSION) {} in ThisExpression() function in ark::es2panda::ir::ThisExpression
31 [[nodiscard]] ThisExpression *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DthisExpression.cpp27 void ThisExpression::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate()
29 void ThisExpression::Dump(ir::AstDumper *dumper) const in Dump()
31 dumper->Add({{"type", "ThisExpression"}}); in Dump()
34 void ThisExpression::Compile(compiler::PandaGen *pg) const in Compile()
51 checker::Type *ThisExpression::Check(checker::Checker *checker) const in Check()
57 void ThisExpression::UpdateSelf([[maybe_unused]] const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) {} in UpdateSelf()
H A DthisExpression.h32 class ThisExpression : public Expression { class
34 explicit ThisExpression() : Expression(AstNodeType::THIS_EXPRESSION) {} in ThisExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ThisExpression
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DthisExpressionBuilder.h25 class ThisExpressionBuilder : public AstBuilder<ir::ThisExpression> {
29 ThisExpression *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DdefaultParameterLowering.cpp147 accessor = checker->AllocNode<ir::ThisExpression>(); in CreateFunctionBody()
155 id = checker->AllocNode<ir::ThisExpression>(); in CreateFunctionBody()
177 auto *thisExpr = checker->AllocNode<ir::ThisExpression>(); in CreateFunctionBody()
H A DinterfaceObjectLiteralLowering.cpp116 auto *thisExpr = checker->AllocNode<ir::ThisExpression>(); in CreateAnonClassFieldGetterSetter()
133 auto *thisExpr = checker->AllocNode<ir::ThisExpression>(); in CreateAnonClassFieldGetterSetter()
H A DlocalClassLowering.cpp69 auto *thisExpr = allocator->New<ir::ThisExpression>(); in CreateCtorFieldInit()
H A DenumLowering.cpp305 auto *thisExpr = Allocator()->New<ir::ThisExpression>(); in CreateCtorForEnumClass()
892 auto *thisExpr = Allocator()->New<ir::ThisExpression>();
H A DlambdaLowering.cpp861 info.callReceiver = CheckIfNeedThis(lambda) ? allocator->New<ir::ThisExpression>() : nullptr; in ConvertLambda()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h144 _(THIS_EXPRESSION, ThisExpression) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h163 _(THIS_EXPRESSION, ThisExpression) \
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvarbinder.h41 class ThisExpression;
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h86 class ThisExpression;
H A DTSAnalyzer.cpp923 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::ThisExpression *expr) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp712 left = AllocNode<ir::MemberExpression>(AllocNode<ir::ThisExpression>(), member, in VisitInstanceProperty()
716 left = AllocNode<ir::MemberExpression>(AllocNode<ir::ThisExpression>(), member, in VisitInstanceProperty()
768 auto left = AllocNode<ir::MemberExpression>(AllocNode<ir::ThisExpression>(), in VisitTSParameterProperty()
970 auto *returnExpr = AllocNode<ir::MemberExpression>(AllocNode<ir::ThisExpression>(), identNode, in AddGeneratedMethodToClass()
984 auto *propAccessExpr = AllocNode<ir::MemberExpression>(AllocNode<ir::ThisExpression>(), identNodeProp, in AddGeneratedMethodToClass()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h87 class ThisExpression;
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserExpressions.cpp715 ir::ThisExpression *ETSParser::ParseThisExpression() in ParseThisExpression()
H A DparserImpl.h244 virtual ir::ThisExpression *ParseThisExpression();
H A DexpressionParser.cpp936 ir::ThisExpression *ParserImpl::ParseThisExpression() in ParseThisExpression()
940 auto *thisExprNode = AllocNode<ir::ThisExpression>(); in ParseThisExpression()
H A DETSparser.h408 ir::ThisExpression *ParseThisExpression() override;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp1070 void JSCompiler::Compile(const ir::ThisExpression *expr) const in Compile()
H A DETSCompiler.cpp1191 void ETSCompiler::Compile(const ir::ThisExpression *expr) const in Compile()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp1134 auto *thisExprNode = AllocNode<ir::ThisExpression>(); in ParsePrimaryExpression()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dhelpers.cpp2344 baseExpression = Allocator()->New<ir::ThisExpression>(); in GenerateGetterSetterBody()

Completed in 37 milliseconds

12