/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | metaProperty.cpp | 25 void MetaProperty::TransformChildren([[maybe_unused]] const NodeTransformer &cb, in TransformChildren() 30 void MetaProperty::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate() 32 void MetaProperty::Dump(ir::AstDumper *dumper) const in Dump() 50 dumper->Add({{"type", "MetaProperty"}, {"kind", kind}}); in Dump() 53 void MetaProperty::Compile(compiler::PandaGen *pg) const in Compile() 58 void MetaProperty::Dump(ir::SrcDumper *dumper) const in Dump() 60 dumper->Add("MetaProperty"); in Dump() 63 void MetaProperty::Compile(compiler::ETSGen *etsg) const in Compile() 68 checker::Type *MetaProperty::Check(checker::TSChecker *checker) in Check() 73 checker::Type *MetaProperty [all...] |
H A D | metaProperty.h | 22 class MetaProperty : public Expression { class 27 MetaProperty() = delete; 28 ~MetaProperty() override = default; 30 NO_COPY_SEMANTIC(MetaProperty); 31 NO_MOVE_SEMANTIC(MetaProperty); 35 explicit MetaProperty(MetaPropertyKind const kind) : Expression(AstNodeType::META_PROPERTY_EXPRESSION), kind_(kind) in MetaProperty() function in ark::es2panda::ir::MetaProperty 46 [[nodiscard]] MetaProperty *Clone(ArenaAllocator *allocator, AstNode *parent) override;
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | metaProperty.cpp | 24 void MetaProperty::Iterate([[maybe_unused]] const NodeTraverser &cb) const {} in Iterate() 26 void MetaProperty::Dump(ir::AstDumper *dumper) const in Dump() 44 dumper->Add({{"type", "MetaProperty"}, {"kind", kind}}); in Dump() 47 void MetaProperty::Compile(compiler::PandaGen *pg) const in Compile() 49 if (kind_ == ir::MetaProperty::MetaPropertyKind::NEW_TARGET) { in Compile() 54 if (kind_ == ir::MetaProperty::MetaPropertyKind::IMPORT_META) { in Compile() 59 checker::Type *MetaProperty::Check(checker::Checker *checker) const in Check() 64 void MetaProperty::UpdateSelf([[maybe_unused]] const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) {} in UpdateSelf()
|
H A D | metaProperty.h | 32 class MetaProperty : public Expression { class 36 explicit MetaProperty(MetaPropertyKind kind) : Expression(AstNodeType::META_PROPERTY_EXPRESSION), kind_(kind) {} in MetaProperty() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MetaProperty
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | metaPropertyBuilder.h | 25 class MetaPropertyBuilder : public AstBuilder<ir::MetaProperty> { 29 MetaPropertyBuilder &SetKind(MetaProperty::MetaPropertyKind kind) in SetKind() 35 MetaProperty *Build() in Build() 42 MetaProperty::MetaPropertyKind kind_ = MetaProperty::MetaPropertyKind::NEW_TARGET;
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | forwardDeclForParserImpl.h | 73 class MetaProperty;
|
H A D | expressionParser.cpp | 827 ir::MetaProperty *ParserImpl::ParsePotentialNewTarget() in ParsePotentialNewTarget() 844 auto *metaProperty = AllocNode<ir::MetaProperty>(ir::MetaProperty::MetaPropertyKind::NEW_TARGET); in ParsePotentialNewTarget() 1111 ir::MetaProperty *newTarget = ParsePotentialNewTarget(); in ParsePrimaryExpression() 2334 auto *metaProperty = AllocNode<ir::MetaProperty>(ir::MetaProperty::MetaPropertyKind::IMPORT_META); in ParseImportExpression()
|
H A D | parserImpl.h | 126 ir::MetaProperty *ParsePotentialNewTarget();
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 63 _(META_PROPERTY_EXPRESSION, MetaProperty) \
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 65 _(META_PROPERTY_EXPRESSION, MetaProperty) \
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSCompilerUnrechable.cpp | 45 void ETSCompiler::Compile([[maybe_unused]] const ir::MetaProperty *expr) const in Compile()
|
H A D | JSCompiler.cpp | 409 void JSCompiler::Compile(const ir::MetaProperty *expr) const in Compile() 412 if (expr->Kind() == ir::MetaProperty::MetaPropertyKind::NEW_TARGET) { in Compile() 417 if (expr->Kind() == ir::MetaProperty::MetaPropertyKind::IMPORT_META) { in Compile()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSAnalyzerUnreachable.cpp | 36 checker::Type *ETSAnalyzer::Check([[maybe_unused]] ir::MetaProperty *expr) const in Check()
|
H A D | TSAnalyzer.cpp | 55 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::MetaProperty *expr) const in Check()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | expressionParser.cpp | 998 ir::MetaProperty *ParserImpl::ParsePotentialNewTarget() in ParsePotentialNewTarget() 1015 auto *metaProperty = AllocNode<ir::MetaProperty>(ir::MetaProperty::MetaPropertyKind::NEW_TARGET); in ParsePotentialNewTarget() 1160 ir::MetaProperty *newTarget = ParsePotentialNewTarget(); in ParsePrimaryExpression() 2464 auto *metaProperty = AllocNode<ir::MetaProperty>(ir::MetaProperty::MetaPropertyKind::IMPORT_META); in ParseImportExpression()
|
H A D | parserImpl.h | 108 class MetaProperty; 429 ir::MetaProperty *ParsePotentialNewTarget();
|