Home
last modified time | relevance | path

Searched refs:GetNodeTypeIndex (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeRecorder.cpp137 int64_t TypeRecorder::GetNodeTypeIndex(const ir::AstNode *node) const in GetNodeTypeIndex() function in panda::es2panda::extractor::TypeRecorder
144 …if (node == nullptr || GetNodeTypeIndex(node) != PRIMITIVETYPE_ANY || index == PRIMITIVETYPE_ANY) { in SetNodeTypeIndex()
149 ASSERT(GetNodeTypeIndex(node) == index); in SetNodeTypeIndex()
159 ASSERT(GetNodeTypeIndex(node) == index); in UpdateNodeTypeIndex()
DtypeSystem.h437 typeIndexShift_ = recorder_->GetNodeTypeIndex(func); in FunctionType()
633 typeIndexShift_ = recorder_->GetNodeTypeIndex(classDef); in ClassType()
753 methods_[recorder_->GetNodeTypeIndex(method->Function())] = name; in FillMethod()
755 staticMethods_ [recorder_->GetNodeTypeIndex(method->Function())] = name; in FillMethod()
918 typeIndexShift_ = recorder_->GetNodeTypeIndex(interfaceDef); in InterfaceType()
992 methods_.emplace_back(recorder_->GetNodeTypeIndex(method)); in FillMethod()
999 methods_.emplace_back(recorder_->GetNodeTypeIndex(method)); in FillMethod()
1007 methods_.emplace_back(recorder_->GetNodeTypeIndex(method)); in FillMethod()
1242 methods_.emplace_back(recorder_->GetNodeTypeIndex(method)); in FillMethod()
1249 methods_.emplace_back(recorder_->GetNodeTypeIndex(method)); in FillMethod()
[all …]
DtypeRecorder.h66 int64_t GetNodeTypeIndex(const ir::AstNode *node) const;
DtypeExtractor.cpp242 typeIndex = recorder_->GetNodeTypeIndex(declNode); in ExtractExportModuleRecord()
376 auto typeIndex = recorder_->GetNodeTypeIndex(node); in GetTypeIndexFromIdentifierNode()
459 auto typeIndex = recorder_->GetNodeTypeIndex(node); in GetTypeIndexFromImportNode()
819 auto typeIndex = recorder_->GetNodeTypeIndex(node->AsArrowFunctionExpression()->Function()); in HandleArrowFunctionExpression()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dlexenv.cpp131 if (fn(context->TypeRecorder()->GetNodeTypeIndex(node), "declnode")) { in ExpandStoreNormalVar()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp241 typedFunc_.first = context_->TypeRecorder()->GetNodeTypeIndex(node); in CopyFunctionArguments()
247 auto typeIndex = context_->TypeRecorder()->GetNodeTypeIndex(method->Parent()); in CopyFunctionArguments()
1698 int64_t typeIndex = Context()->TypeRecorder()->GetNodeTypeIndex(declareNode); in LoadExternalModuleVariable()
1713 int64_t typeIndex = Context()->TypeRecorder()->GetNodeTypeIndex(node); in StoreModuleVariable()
1872 if (fn(context_->TypeRecorder()->GetNodeTypeIndex(node), "declnode")) { in StoreLexicalVar()