Home
last modified time | relevance | path

Searched refs:typeLiteralExtractor (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp79 TypeLiteralExtractor typeLiteralExtractor(jsPandaFile, typeId); in ParseType() local
80 if (!typeLiteralExtractor.IsVaildTypeLiteral()) { // typeLiteral maybe hole in d.abc in ParseType()
84 if (TypeNeedResolve(&typeLiteralExtractor)) { in ParseType()
85 return ResolveType(jsPandaFile, recordName, &typeLiteralExtractor); in ParseType()
106 … JSHandle<JSTaggedValue> type = ParseNonImportType(jsPandaFile, recordName, &typeLiteralExtractor); in ParseType()
112 if (typeLiteralExtractor.GetTypeKind() != TSTypeKind::GENERIC_INSTANCE) { in ParseType()
119 TypeLiteralExtractor *typeLiteralExtractor) in ResolveType() argument
121 if (typeLiteralExtractor->IsGenerics()) { in ResolveType()
122 return ParseGenericsType(jsPandaFile, recordName, typeLiteralExtractor); in ResolveType()
125 auto kind = typeLiteralExtractor->GetTypeKind(); in ResolveType()
[all …]
Dts_type_parser.h107 inline bool TypeNeedResolve(const TypeLiteralExtractor *typeLiteralExtractor) const in TypeNeedResolve() argument
109 if (typeLiteralExtractor->IsGenerics()) { in TypeNeedResolve()
113 TSTypeKind kind = typeLiteralExtractor->GetTypeKind(); in TypeNeedResolve()
143 TypeLiteralExtractor *typeLiteralExtractor);
146 TypeLiteralExtractor *typeLiteralExtractor);
149 TypeLiteralExtractor *typeLiteralExtractor);
152 TypeLiteralExtractor *typeLiteralExtractor);
155 TypeLiteralExtractor *typeLiteralExtractor);
158 … TypeLiteralExtractor *typeLiteralExtractor);
161 TypeLiteralExtractor *typeLiteralExtractor);
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp223 TypeLiteralExtractor typeLiteralExtractor(jsPandaFile_, typeOffset); in StoreClassTypeOffset() local
224 if (typeLiteralExtractor.GetTypeKind() != TSTypeKind::CLASS) { in StoreClassTypeOffset()