Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DtsIndexSignature.cpp24 TSIndexSignature::TSIndexSignatureKind TSIndexSignature::Kind() const noexcept
30 void TSIndexSignature::TransformChildren(const NodeTransformer &cb, std::string_view const transformationName) in TransformChildren()
43 void TSIndexSignature::Iterate(const NodeTraverser &cb) const in Iterate()
49 void TSIndexSignature::Dump(ir::AstDumper *dumper) const in Dump()
51 dumper->Add({{"type", "TSIndexSignature"}, in Dump()
57 void TSIndexSignature::Dump(ir::SrcDumper *dumper) const in Dump()
59 dumper->Add("TSIndexSignature"); in Dump()
62 void TSIndexSignature::Compile(compiler::PandaGen *pg) const in Compile()
67 void TSIndexSignature
[all...]
H A DtsIndexSignature.h26 class TSIndexSignature : public TypedAstNode { class
30 TSIndexSignature() = delete;
31 ~TSIndexSignature() override = default;
33 NO_COPY_SEMANTIC(TSIndexSignature);
34 NO_MOVE_SEMANTIC(TSIndexSignature);
36 explicit TSIndexSignature(Expression *const param, TypeNode *const typeAnnotation, bool const readonly) in TSIndexSignature() function in ark::es2panda::ark::es2panda::ir::TSIndexSignature
63 [[nodiscard]] TSIndexSignature *Clone(ArenaAllocator *allocator, AstNode *parent) override;
H A DnamespaceDefinition.h32 class TSIndexSignature;
H A DclassDefinition.h32 class TSIndexSignature;
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsIndexSignature.cpp25 TSIndexSignature::TSIndexSignatureKind TSIndexSignature::Kind() const in Kind()
31 void TSIndexSignature::Iterate(const NodeTraverser &cb) const in Iterate()
37 void TSIndexSignature::Dump(ir::AstDumper *dumper) const in Dump()
39 dumper->Add({{"type", "TSIndexSignature"}, in Dump()
46 void TSIndexSignature::Compile([[maybe_unused]] compiler::PandaGen *pg) const {} in Compile()
48 checker::Type *TSIndexSignature::Check(checker::Checker *checker) const in Check()
64 if (Kind() == ir::TSIndexSignature::TSIndexSignatureKind::NUMBER) { in Check()
75 void TSIndexSignature::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
H A DtsIndexSignature.h32 class TSIndexSignature : public Expression { class
36 explicit TSIndexSignature(Expression *param, Expression *typeAnnotation, bool readonly, bool isStatic = false) in TSIndexSignature() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::TSIndexSignature
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DtsIndexSignatureBuilder.h25 class TSIndexSignatureBuilder : public AstBuilder<TSIndexSignature> {
47 TSIndexSignature *Build() in Build()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DclassDefinition.h59 class TSIndexSignature;
68 ArenaVector<TSIndexSignature *> &&indexSignatures, bool declare, bool abstract) in ClassDefinition()
163 ArenaVector<TSIndexSignature *> &IndexSignatures() in IndexSignatures()
168 const ArenaVector<TSIndexSignature *> &IndexSignatures() const in IndexSignatures()
284 ArenaVector<TSIndexSignature *> indexSignatures_;
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dobject.cpp183 ArenaVector<ir::TSIndexSignature *> indexDeclarations(Allocator()->Adapter()); in ResolveObjectTypeMembers()
197 ArenaVector<ir::TSIndexSignature *> &indexDeclarations, bool isInterface) in ResolvePropertiesOfObjectType()
245 void TSChecker::ResolveIndexInfosOfObjectType(ObjectType *type, ArenaVector<ir::TSIndexSignature *> &indexDeclarations) in ResolveIndexInfosOfObjectType()
250 if (it->AsTSIndexSignature()->Kind() == ir::TSIndexSignature::TSIndexSignatureKind::NUMBER) { in ResolveIndexInfosOfObjectType()
514 ArenaVector<ir::TSIndexSignature *> indexDeclarations(Allocator()->Adapter()); in ResolveDeclaredMembers()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dobject.cpp187 ArenaVector<const ir::TSIndexSignature *> indexDeclarations(allocator_->Adapter()); in ResolveObjectTypeMembers()
201 ArenaVector<const ir::TSIndexSignature *> &indexDeclarations, in ResolvePropertiesOfObjectType()
251 ArenaVector<const ir::TSIndexSignature *> &indexDeclarations) in ResolveIndexInfosOfObjectType()
256 if (it->AsTSIndexSignature()->Kind() == ir::TSIndexSignature::TSIndexSignatureKind::NUMBER) { in ResolveIndexInfosOfObjectType()
521 ArenaVector<const ir::TSIndexSignature *> indexDeclarations(allocator_->Adapter()); in ResolveDeclaredMembers()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h97 class TSIndexSignature;
318 ArenaVector<ir::TSIndexSignature *> &indexDeclarations, bool isInterface);
321 void ResolveIndexInfosOfObjectType(ObjectType *type, ArenaVector<ir::TSIndexSignature *> &indexDeclarations);
H A DETSAnalyzerUnreachable.cpp46 checker::Type *ETSAnalyzer::Check([[maybe_unused]] ir::TSIndexSignature *node) const in Check()
H A DTSAnalyzer.cpp62 checker::Type *TSAnalyzer::Check(ir::TSIndexSignature *node) const in Check()
77 if (node->Kind() == ir::TSIndexSignature::TSIndexSignatureKind::NUMBER) { in Check()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h97 class TSIndexSignature;
391 ArenaVector<const ir::TSIndexSignature *> &indexDeclarations, bool isInterface);
394 void ResolveIndexInfosOfObjectType(ObjectType *type, ArenaVector<const ir::TSIndexSignature *> &indexDeclarations);
/arkcompiler/ets_frontend/ets2panda/parser/
H A DASparser.h64 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
H A DTypedParser.h113 virtual ir::TSIndexSignature *ParseIndexSignature([[maybe_unused]] const lexer::SourcePosition &startLoc, in ParseIndexSignature()
H A DTSparser.h107 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
H A DASparser.cpp932 ir::TSIndexSignature *ASParser::ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParseIndexSignature()
981 auto *indexSignature = AllocNode<ir::TSIndexSignature>(key, typeAnnotation, isReadonly); in ParseIndexSignature()
H A DTSparser.cpp1531 ir::TSIndexSignature *TSParser::ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParseIndexSignature()
1570 auto *indexSignature = AllocNode<ir::TSIndexSignature>(key, typeAnnotation, isReadonly); in ParseIndexSignature()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h134 _(TS_INDEX_SIGNATURE, TSIndexSignature) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h155 _(TS_INDEX_SIGNATURE, TSIndexSignature) \
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompilerUnreachable.cpp71 void JSCompiler::Compile([[maybe_unused]] const ir::TSIndexSignature *node) const in Compile()
H A DETSCompilerUnrechable.cpp70 void ETSCompiler::Compile([[maybe_unused]] const ir::TSIndexSignature *node) const in Compile()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h100 class TSIndexSignature;
327 ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass,
H A DparserImpl.cpp1577 member = AllocNode<ir::TSIndexSignature>(key, typeAnnotation, readonly); in ParseTsTypeLiteralOrInterfaceMember()
2855 ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass, bool isDeclare, bool isAbstractClass, in ParseClassElement()
2951 AllocNode<ir::TSIndexSignature>(propName, typeAnnotation, desc.modifiers & ir::ModifierFlags::READONLY, in ParseClassElement()
3209 ArenaVector<ir::TSIndexSignature *> indexSignatures(Allocator()->Adapter()); in ParseClassDefinition()

Completed in 32 milliseconds

12