/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | tsIndexSignature.cpp | 24 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 D | tsIndexSignature.h | 26 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 D | namespaceDefinition.h | 32 class TSIndexSignature;
|
H A D | classDefinition.h | 32 class TSIndexSignature;
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsIndexSignature.cpp | 25 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 D | tsIndexSignature.h | 32 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 D | tsIndexSignatureBuilder.h | 25 class TSIndexSignatureBuilder : public AstBuilder<TSIndexSignature> { 47 TSIndexSignature *Build() in Build()
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | classDefinition.h | 59 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 D | object.cpp | 183 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 D | object.cpp | 187 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 D | TSchecker.h | 97 class TSIndexSignature; 318 ArenaVector<ir::TSIndexSignature *> &indexDeclarations, bool isInterface); 321 void ResolveIndexInfosOfObjectType(ObjectType *type, ArenaVector<ir::TSIndexSignature *> &indexDeclarations);
|
H A D | ETSAnalyzerUnreachable.cpp | 46 checker::Type *ETSAnalyzer::Check([[maybe_unused]] ir::TSIndexSignature *node) const in Check()
|
H A D | TSAnalyzer.cpp | 62 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 D | checker.h | 97 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 D | ASparser.h | 64 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
|
H A D | TypedParser.h | 113 virtual ir::TSIndexSignature *ParseIndexSignature([[maybe_unused]] const lexer::SourcePosition &startLoc, in ParseIndexSignature()
|
H A D | TSparser.h | 107 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
|
H A D | ASparser.cpp | 932 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 D | TSparser.cpp | 1531 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 D | astNodeMapping.h | 134 _(TS_INDEX_SIGNATURE, TSIndexSignature) \
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeMapping.h | 155 _(TS_INDEX_SIGNATURE, TSIndexSignature) \
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | JSCompilerUnreachable.cpp | 71 void JSCompiler::Compile([[maybe_unused]] const ir::TSIndexSignature *node) const in Compile()
|
H A D | ETSCompilerUnrechable.cpp | 70 void ETSCompiler::Compile([[maybe_unused]] const ir::TSIndexSignature *node) const in Compile()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 100 class TSIndexSignature; 327 ArenaVector<ir::TSIndexSignature *> *indexSignatures, bool hasSuperClass,
|
H A D | parserImpl.cpp | 1577 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()
|