Home
last modified time | relevance | path

Searched refs:MetaProperty (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DmetaProperty.cpp25 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 DmetaProperty.h22 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 DmetaProperty.cpp24 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 DmetaProperty.h32 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 DmetaPropertyBuilder.h25 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 DforwardDeclForParserImpl.h73 class MetaProperty;
H A DexpressionParser.cpp827 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 DparserImpl.h126 ir::MetaProperty *ParsePotentialNewTarget();
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h63 _(META_PROPERTY_EXPRESSION, MetaProperty) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h65 _(META_PROPERTY_EXPRESSION, MetaProperty) \
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSCompilerUnrechable.cpp45 void ETSCompiler::Compile([[maybe_unused]] const ir::MetaProperty *expr) const in Compile()
H A DJSCompiler.cpp409 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 DETSAnalyzerUnreachable.cpp36 checker::Type *ETSAnalyzer::Check([[maybe_unused]] ir::MetaProperty *expr) const in Check()
H A DTSAnalyzer.cpp55 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::MetaProperty *expr) const in Check()
/arkcompiler/ets_frontend/es2panda/parser/
H A DexpressionParser.cpp998 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 DparserImpl.h108 class MetaProperty;
429 ir::MetaProperty *ParsePotentialNewTarget();

Completed in 20 milliseconds