Searched refs:PrimitiveType (Results 1 – 14 of 14) sorted by relevance
/arkcompiler/ets_frontend/ts2panda/src/ |
D | typeChecker.ts | 27 PrimitiveType, 131 return PrimitiveType.ANY; 134 if (classTypeIndex === PrimitiveType.ANY) { 160 return PrimitiveType.ANY; 165 return PrimitiveType.ANY; 168 if (interfaceTypeIndex === PrimitiveType.ANY) { 177 return PrimitiveType.ANY; 187 if (importTypeIndex != PrimitiveType.ANY) { 190 return PrimitiveType.ANY; 196 return PrimitiveType.ANY; [all …]
|
D | typeRecorder.ts | 18 ExternalType, PrimitiveType, TypeSummary, userDefinedTypeStartIndex 89 return PrimitiveType.ANY; 97 return PrimitiveType.ANY; 206 if (typeIndexForType != PrimitiveType.ANY) { 208 } else if (typeIndexForVariable != PrimitiveType.ANY) {
|
D | addVariable2Scope.ts | 17 import { PrimitiveType } from "./base/typeSystem"; 48 if (typeIndex === PrimitiveType.ANY) {
|
D | ts2panda.ts | 56 import { PrimitiveType, BuiltinType } from "./base/typeSystem"; 359 if (typeIdx != PrimitiveType.ANY) {
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 236 if (typeIndex != PrimitiveType::ANY) { in ExtractExportModuleRecord() 243 if (typeIndex == PrimitiveType::ANY && declNode != nullptr) { in ExtractExportModuleRecord() 247 if (typeIndex != PrimitiveType::ANY) { in ExtractExportModuleRecord() 371 return PrimitiveType::ANY; in GetTypeIndexFromDeclNode() 391 int64_t typeIndex = PrimitiveType::ANY; in GetTypeIndexFromClassDefinition() 415 int64_t typeIndex = PrimitiveType::ANY; in GetTypeIndexFromInterfaceNode() 435 int64_t typeIndex = PrimitiveType::ANY; in GetTypeIndexFromFunctionNode() 469 return PrimitiveType::ANY; in GetTypeIndexFromTypeAliasNode() 493 int64_t typeIndex = PrimitiveType::ANY; in GetTypeIndexFromMemberNode() 522 int64_t typeIndex = PrimitiveType::ANY; in GetTypeIndexFromTSQualifiedNode() [all …]
|
D | typeSystem.h | 57 enum PrimitiveType : uint8_t { enum 69 const std::unordered_map<ir::AstNodeType, PrimitiveType> PRIMITIVE_TYPE_MAP = { 70 {ir::AstNodeType::TS_ANY_KEYWORD, PrimitiveType::ANY}, 71 {ir::AstNodeType::TS_NUMBER_KEYWORD, PrimitiveType::NUMBER}, 72 {ir::AstNodeType::TS_BOOLEAN_KEYWORD, PrimitiveType::BOOLEAN}, 73 {ir::AstNodeType::TS_VOID_KEYWORD, PrimitiveType::VOID}, 74 {ir::AstNodeType::TS_STRING_KEYWORD, PrimitiveType::STRING}, 75 {ir::AstNodeType::TS_SYMBOL_KEYWORD, PrimitiveType::SYMBOL}, 76 {ir::AstNodeType::TS_NULL_KEYWORD, PrimitiveType::NUL}, 77 {ir::AstNodeType::TS_UNDEFINED_KEYWORD, PrimitiveType::UNDEFINED}, [all …]
|
/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | typeSystem.ts | 32 export enum PrimitiveType { enum 185 … protected getOrCreateRecordForDeclNode(typeNode: ts.Node, variableNode?: ts.Node): PrimitiveType { 189 …CreateRecordForTypeNode(typeNode: ts.TypeNode | undefined, variableNode?: ts.Node): PrimitiveType { 276 extendsHeritage: number = PrimitiveType.ANY; 347 … let fieldInfo = Array<number>(PrimitiveType.ANY, AccessFlag.PUBLIC, ModifierReadonly.NONREADONLY); 537 returnType: number = PrimitiveType.ANY; 687 typeIndex: number = PrimitiveType.ANY; 688 shiftedTypeIndex: number = PrimitiveType.ANY; 742 referedTypeIndex: number = PrimitiveType.ANY; 743 typeIndex: number = PrimitiveType.ANY; [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_primitive_ref.h | 25 enum class PrimitiveType : uint8_t { enum
|
D | js_tagged_value.cpp | 482 …return JSHandle<JSObject>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_NUMBER, tagged… in ToObject() 500 …return JSHandle<JSObject>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_BOOLEAN, tagge… in ToObject() 511 …return JSHandle<JSObject>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_SYMBOL, tagged… in ToObject() 514 …return JSHandle<JSObject>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_STRING, tagged… in ToObject() 517 …return JSHandle<JSObject>::Cast(factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_BIGINT, tagged… in ToObject()
|
D | object_factory.h | 179 enum class PrimitiveType : uint8_t; 265 …JSHandle<JSPrimitiveRef> NewJSPrimitiveRef(PrimitiveType type, const JSHandle<JSTaggedValue> &obje…
|
D | object_factory.cpp | 1823 JSHandle<JSPrimitiveRef> ObjectFactory::NewJSPrimitiveRef(PrimitiveType type, const JSHandle<JSTagg… in NewJSPrimitiveRef() 1829 case PrimitiveType::PRIMITIVE_NUMBER: in NewJSPrimitiveRef() 1832 case PrimitiveType::PRIMITIVE_STRING: in NewJSPrimitiveRef() 1835 case PrimitiveType::PRIMITIVE_SYMBOL: in NewJSPrimitiveRef() 1838 case PrimitiveType::PRIMITIVE_BOOLEAN: in NewJSPrimitiveRef() 1841 case PrimitiveType::PRIMITIVE_BIGINT: in NewJSPrimitiveRef()
|
/arkcompiler/runtime_core/docs/ |
D | file_format.md | 111 TypeDescriptor -> PrimitiveType | ArrayType | RefType 112 PrimitiveType -> 'Z' | 'B' | 'H' | 'S' | 'C' | 'I' | 'U' | 'J' | 'Q' | 'F' | 'D' | 'A' 117 `PrimitiveType` is a one letter encoding for primitive type
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_bigint_test.cpp | 437 …JSHandle<JSPrimitiveRef> jsPrimitiveRef = factory->NewJSPrimitiveRef(PrimitiveType::PRIMITIVE_BIGI… in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 10883 PrimitiveType: Pe, property 113818 }, bIt.PrimitiveType = AIt, SIt), gIt = Bl(fIt.prototype, "type", [ pIt ], {
|