/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSchecker.cpp | 73 compiler::Signatures::BUILTIN_BOOLEAN_CLASS, 74 compiler::Signatures::BUILTIN_BYTE_CLASS, 75 compiler::Signatures::BUILTIN_CHAR_CLASS, 76 compiler::Signatures::BUILTIN_SHORT_CLASS, 77 compiler::Signatures::BUILTIN_INT_CLASS, 78 compiler::Signatures::BUILTIN_LONG_CLASS, 79 compiler::Signatures::BUILTIN_FLOAT_CLASS, 80 compiler::Signatures::BUILTIN_DOUBLE_CLASS, 81 compiler::Signatures::BUILTIN_FUNCTION0_CLASS, 82 compiler::Signatures [all...] |
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | boxingConverter.cpp | 29 return compiler::Signatures::BUILTIN_BOOLEAN_CLASS; in ETSTypeFromSource() 32 return compiler::Signatures::BUILTIN_BYTE_CLASS; in ETSTypeFromSource() 35 return compiler::Signatures::BUILTIN_SHORT_CLASS; in ETSTypeFromSource() 38 return compiler::Signatures::BUILTIN_CHAR_CLASS; in ETSTypeFromSource() 41 return compiler::Signatures::BUILTIN_INT_CLASS; in ETSTypeFromSource() 44 return compiler::Signatures::BUILTIN_LONG_CLASS; in ETSTypeFromSource() 47 return compiler::Signatures::BUILTIN_FLOAT_CLASS; in ETSTypeFromSource() 50 return compiler::Signatures::BUILTIN_DOUBLE_CLASS; in ETSTypeFromSource()
|
H A D | typeCreation.cpp | 391 {compiler::Signatures::BUILTIN_BIGINT_CLASS, GlobalTypeId::ETS_BIG_INT_BUILTIN}, in GetNameToTypeIdMap() 392 {compiler::Signatures::BUILTIN_STRING_CLASS, GlobalTypeId::ETS_STRING_BUILTIN}, in GetNameToTypeIdMap() 393 {compiler::Signatures::BUILTIN_OBJECT_CLASS, GlobalTypeId::ETS_OBJECT_BUILTIN}, in GetNameToTypeIdMap() 394 {compiler::Signatures::BUILTIN_EXCEPTION_CLASS, GlobalTypeId::ETS_EXCEPTION_BUILTIN}, in GetNameToTypeIdMap() 395 {compiler::Signatures::BUILTIN_ERROR_CLASS, GlobalTypeId::ETS_ERROR_BUILTIN}, in GetNameToTypeIdMap() 396 {compiler::Signatures::BUILTIN_TYPE_CLASS, GlobalTypeId::ETS_TYPE_BUILTIN}, in GetNameToTypeIdMap() 397 {compiler::Signatures::BUILTIN_PROMISE_CLASS, GlobalTypeId::ETS_PROMISE_BUILTIN}, in GetNameToTypeIdMap() 398 {compiler::Signatures::BUILTIN_BOX_CLASS, GlobalTypeId::ETS_BOX_BUILTIN}, in GetNameToTypeIdMap() 399 {compiler::Signatures::BUILTIN_BOOLEAN_BOX_CLASS, GlobalTypeId::ETS_BOOLEAN_BOX_BUILTIN}, in GetNameToTypeIdMap() 400 {compiler::Signatures in GetNameToTypeIdMap() [all...] |
H A D | dynamic.cpp | 241 id = AllocNode<ir::Identifier>(compiler::Signatures::CCTOR, Allocator()); in CreateStaticScriptFunction() 270 id = AllocNode<ir::Identifier>(compiler::Signatures::CTOR, Allocator()); in CreateScriptFunction() 321 util::Helpers::SplitSignature(isConstruct ? compiler::Signatures::Dynamic::InitNewClassBuiltin(lang) in CreateDynamicCallClassInitializer() 322 : compiler::Signatures::Dynamic::InitCallClassBuiltin(lang)); in CreateDynamicCallClassInitializer() 388 isConstruct ? compiler::Signatures::Dynamic::NewClass(lang) : compiler::Signatures::Dynamic::CallClass(lang); in GetDynamicClass() 401 auto builtin = compiler::Signatures::Dynamic::LoadModuleBuiltin(import->Language()); in ClassInitializerFromImport() 423 auto *moduleClassId = AllocNode<ir::Identifier>(compiler::Signatures::DYNAMIC_MODULE_CLASS, Allocator()); in ClassInitializerFromImport() 481 return CreateClassMethod(compiler::Signatures::DYNAMIC_MODULE_CLASS_INIT, ir::ScriptFunctionFlags::METHOD, 493 compiler::Signatures [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSemitter.cpp | 122 func.returnType = pandasm::Type(Signatures::PRIMITIVE_VOID, 0); in GenScriptFunction() 145 func.metadata->SetAttribute(Signatures::EXTERNAL); in GenFunctionSignature() 159 variableDebug.signature = Signatures::ANY; in GenVariableSignature() 160 variableDebug.signatureType = Signatures::ANY; in GenVariableSignature() 178 func.returnType = pandasm::Type(Signatures::PRIMITIVE_VOID, 0); in GenExternalFunction() 180 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction() 182 func.metadata->SetAttribute(Signatures::EXTERNAL); in GenExternalFunction() 197 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction() 199 func.metadata->SetAttribute(Signatures::EXTERNAL); in GenExternalFunction() 219 for (auto *signature : globalRecordTable->Signatures()) { in GenAnnotation() [all...] |
H A D | ETSGen.cpp | 253 ss << VarBinder()->Program()->ModuleName() << compiler::Signatures::METHOD_SEPARATOR; in FormDynamicModulePropReference() 256 ss << compiler::Signatures::DYNAMIC_MODULE_CLASS << compiler::Signatures::METHOD_SEPARATOR in FormDynamicModulePropReference() 370 fullName.append(".").append(Signatures::ETS_GLOBAL); in FormClassPropReference() 486 methodName = Signatures::Dynamic::SetPropertyBooleanBuiltin(lang); in StorePropertyDynamic() 488 methodName = Signatures::Dynamic::SetPropertyByteBuiltin(lang); in StorePropertyDynamic() 490 methodName = Signatures::Dynamic::SetPropertyCharBuiltin(lang); in StorePropertyDynamic() 492 methodName = Signatures::Dynamic::SetPropertyShortBuiltin(lang); in StorePropertyDynamic() 494 methodName = Signatures::Dynamic::SetPropertyIntBuiltin(lang); in StorePropertyDynamic() 496 methodName = Signatures in StorePropertyDynamic() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/scripts/ |
H A D | signatures.rb | 19 module Signatures module 36 Signatures::DEFINES[define.ref] = define 45 Signatures::PRIMITIVES[primitive.ref] = primitive.name 50 Signatures::TYPEDESCRIPTORS[typedescriptor.ref] = typedescriptor.name 56 Signatures::BUILTINS[builtin.ref] = [sig, builtin.name] 69 Signatures::SIGNATURES[signature.ref] = sig 73 Signatures::DYNAMIC[lang.name] = OpenStruct.new(lang) 80 Signatures.wrap_data(data)
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsTypeReferencePart.cpp | 105 if (ident->Name() == compiler::Signatures::UNDEFINED) { in HandleInternalTypes() 109 if (ident->Name() == compiler::Signatures::NULL_LITERAL) { in HandleInternalTypes() 113 if (ident->Name() == compiler::Signatures::READONLY_TYPE_NAME || in HandleInternalTypes() 114 ident->Name() == compiler::Signatures::REQUIRED_TYPE_NAME) { in HandleInternalTypes() 118 if (ident->Name() == compiler::Signatures::PARTIAL_TYPE_NAME) { in HandleInternalTypes()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | promiseVoid.cpp | 44 checker->AllocNode<ir::Identifier>(compiler::Signatures::UNDEFINED, checker->Allocator()); in HandleAsyncScriptFunctionBody() 73 auto *voidId = checker->AllocNode<ir::Identifier>(compiler::Signatures::UNDEFINED, checker->Allocator()); in CreatePromiseVoidType() 83 checker->AllocNode<ir::Identifier>(compiler::Signatures::BUILTIN_PROMISE_CLASS, checker->Allocator()); in CreatePromiseVoidType() 126 const auto isTypePromise = typePart->Name()->AsIdentifier()->Name() == compiler::Signatures::BUILTIN_PROMISE_CLASS; in CheckForPromiseVoid() 127 const auto isParamVoid = paramPart->Name()->AsIdentifier()->Name() == compiler::Signatures::UNDEFINED; in CheckForPromiseVoid() 218 return id->Name() == compiler::Signatures::UNDEFINED; in Postcondition()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
H A D | etsStringType.h | 28 SetAssemblerName(compiler::Signatures::BUILTIN_STRING); in ETSStringType() 36 SetAssemblerName(compiler::Signatures::BUILTIN_STRING); in ETSStringType() 46 SetAssemblerName(compiler::Signatures::BUILTIN_STRING); in ETSStringType() 69 ss << compiler::Signatures::BUILTIN_STRING;
|
H A D | etsNullishTypes.cpp | 62 ss << compiler::Signatures::BUILTIN_OBJECT; in ToAssemblerType() 67 ETSObjectType::DebugInfoTypeFromName(ss, compiler::Signatures::BUILTIN_OBJECT); in ToDebugInfoType() 113 ss << compiler::Signatures::BUILTIN_OBJECT; in ToAssemblerType() 118 ETSObjectType::DebugInfoTypeFromName(ss, compiler::Signatures::BUILTIN_OBJECT); in ToDebugInfoType()
|
H A D | etsBigIntType.h | 29 SetAssemblerName(compiler::Signatures::BUILTIN_BIGINT); in ETSBigIntType() 43 SetAssemblerName(compiler::Signatures::BUILTIN_BIGINT); in ETSBigIntType() 57 ss << compiler::Signatures::BUILTIN_BIGINT;
|
H A D | etsVoidType.h | 38 ss << compiler::Signatures::PRIMITIVE_VOID; 43 ss << compiler::Signatures::TYPE_DESCRIPTOR_VOID;
|
H A D | shortType.h | 47 ss << compiler::Signatures::PRIMITIVE_SHORT; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_SHORT;
|
H A D | longType.h | 47 ss << compiler::Signatures::PRIMITIVE_LONG; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_LONG;
|
H A D | intType.h | 47 ss << compiler::Signatures::PRIMITIVE_INT; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_INT;
|
H A D | floatType.h | 47 ss << compiler::Signatures::PRIMITIVE_FLOAT; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_FLOAT;
|
H A D | doubleType.h | 47 ss << compiler::Signatures::PRIMITIVE_DOUBLE; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_DOUBLE;
|
H A D | charType.h | 47 ss << compiler::Signatures::PRIMITIVE_CHAR; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_CHAR;
|
H A D | byteType.h | 47 ss << compiler::Signatures::PRIMITIVE_BYTE; 52 ss << compiler::Signatures::TYPE_DESCRIPTOR_BYTE;
|
H A D | etsBooleanType.h | 46 ss << compiler::Signatures::PRIMITIVE_BOOLEAN; 51 ss << compiler::Signatures::TYPE_DESCRIPTOR_BOOLEAN;
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | identifierHasVariable.cpp | 90 if (ast->Name().Is(Signatures::PARTIAL_TYPE_NAME) || ast->Name().Is(Signatures::REQUIRED_TYPE_NAME) || in CheckMoreAstExceptions() 91 ast->Name().Is(Signatures::READONLY_TYPE_NAME)) { in CheckMoreAstExceptions()
|
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/ |
H A D | methodBuilder.h | 59 return methodName_ == compiler::Signatures::CTOR; in IsConstructor() 64 return methodName_ == compiler::Signatures::CCTOR; in IsStaticConstructor()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | globalClassHandler.cpp | 77 FunctionExists(program->Ast()->Statements(), compiler::Signatures::MAIN)) { in SetupGlobalClass() 267 auto *id = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::CCTOR, allocator_); in CreateStaticBlock() 301 auto *ident = NodeAllocator::Alloc<ir::Identifier>(allocator_, compiler::Signatures::ETS_GLOBAL, allocator_); in CreateGlobalClass() 323 CreateGlobalMethod(compiler::Signatures::INIT_METHOD, std::move(initStatements)); in SetupGlobalMethods() 334 CreateGlobalMethod(compiler::Signatures::MAIN, ArenaVector<ir::Statement *>(allocator_->Adapter())); in SetupGlobalMethods()
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | ETSBinder.cpp | 102 if (name == compiler::Signatures::UNDEFINED || name == compiler::Signatures::NULL_LITERAL || in LookupTypeReference() 103 name == compiler::Signatures::READONLY_TYPE_NAME || name == compiler::Signatures::PARTIAL_TYPE_NAME || in LookupTypeReference() 104 name == compiler::Signatures::REQUIRED_TYPE_NAME) { in LookupTypeReference() 514 if (bindingName.Is(compiler::Signatures::ETS_GLOBAL)) { in ImportAllForeignBindings() 922 recordTable_->Signatures().push_back(funcScope); in BuildInternalName() 945 recordTable->Signatures().push_back(funcScope); in BuildInternalNameWithCustomRecordTable() 967 << compiler::Signatures::METHOD_SEPARATOR; in BuildFunctionName() 972 ss << compiler::Signatures in BuildFunctionName() [all...] |