/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | object_pointer.h | 24 * @class ObjectPointer<class Object> 28 * Wraps pointer Object * into class ObjectPointer<Object> and provides interfaces to work with it as a pointer. 31 template <class Object> 36 ObjectPointer(Object *object) : object_(ToObjPtrType(object)) in ObjectPointer() 54 ObjectPointer &operator=(const Object *object) in operator =() 63 ALWAYS_INLINE Object *operator->() in operator ->() 70 ALWAYS_INLINE operator Object *() in operator Object *() 75 ALWAYS_INLINE Object &operator*() in operator *() 91 ALWAYS_INLINE bool operator==(Object *othe [all...] |
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | object_pointer.h | 24 * @class ObjectPointer<class Object> 28 * Wraps pointer Object * into class ObjectPointer<Object> and provides interfaces to work with it as a pointer. 31 template <class Object> 36 ObjectPointer(Object *object) : object_(ToObjPtrType(object)) in ObjectPointer() 52 ObjectPointer &operator=(const Object *object) in operator =() 59 ALWAYS_INLINE Object *operator->() in operator ->() 66 ALWAYS_INLINE operator Object *() const in operator Object *() 71 ALWAYS_INLINE Object &operator*() in operator *() 87 ALWAYS_INLINE bool operator==(Object *othe [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_object.cpp | 24 // 19.1.1.1 Object ( [ value ] ) 29 BUILTINS_API_TRACE(thread, Object, Constructor); in ObjectConstructor() 87 // 19.1.2.1 Object.assign ( target, ...sources ) 92 BUILTINS_API_TRACE(thread, Object, Assign); in Assign() 163 BUILTINS_API_TRACE(thread, Object, DefineProperties); in ObjectDefineProperties() 165 // 1.If Type(O) is not Object, throw a TypeError exception. in ObjectDefineProperties() 239 // 19.1.2.2 Object.create ( O [ , Properties ] ) 244 BUILTINS_API_TRACE(thread, Object, Create); in Create() 246 // 1.If Type(O) is neither Object nor Null, throw a TypeError exception. in Create() 250 THROW_TYPE_ERROR_AND_RETURN(thread, "Create: O is neither Object no in Create() [all...] |
/arkcompiler/runtime_core/static_core/runtime/templates/ |
H A D | runtime.rb | 88 Object.send(:get_ret_type, signature.ret) != Object.send(:get_ret_effective_type, signature.ret) || 89 signature.args.any? { |arg| Object.send(:get_ret_type, arg) != Object.send(:get_ret_effective_type, arg) }
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/dynamic/ |
H A D | dynamicCall.cpp | 68 if (!memberExpr->Object()->TsType()->IsETSDynamicType() || memberExpr->IsComputed()) { in SqueezeExpr() 73 if (memberExpr->Object()->IsMemberExpression()) { in SqueezeExpr() 74 return SqueezeExpr(memberExpr->Object()->AsMemberExpression(), name); in SqueezeExpr() 76 return memberExpr->Object(); in SqueezeExpr()
|
/arkcompiler/ets_frontend/ets2panda/test/unit/dynamic/ |
H A D | dynamic_call_test.cpp | 60 obj = obj->AsMemberExpression()->Object(); in MarkChainDynamic() 138 obj->AsMemberExpression()->Object()->AsMemberExpression()->Object()->AsMemberExpression()->Object()); in TEST_F() 157 ASSERT_EQ(squeezedObj, obj->AsMemberExpression()->Object()->AsMemberExpression()->Object()); in TEST_F() 169 auto bObj = obj->AsMemberExpression()->Object()->AsMemberExpression()->Object(); in TEST_F() 172 bObj->AsMemberExpression()->Object()->SetTsType(staticType); in TEST_F()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | tupleLowering.cpp | 43 isArgumentMemberExpression ? argument->AsMemberExpression()->Object()->TsType() : nullptr; in CheckUpdateArgument() 142 argumentClone->Object()->SetTsType(memberExpr->Object()->TsType()); in CloneArgument() 143 if (argumentClone->Object()->IsIdentifier()) { in CloneArgument() 144 argumentClone->Object()->AsIdentifier()->SetVariable(memberExpr->Object()->AsIdentifier()->Variable()); in CloneArgument() 191 // Set tuple type to Object (because we'll need implicit boxing) in ConvertTupleUpdate() 222 // type is stored as the LUB type in the tuple (which can be Object), then the following conversions need to be done in ConvertTupleAssignment() 223 // for this case: Short->short->int->Int->Object which can't be made implicitly, hence lowering is needed in ConvertTupleAssignment() 227 auto *const leftObjectType = left->AsMemberExpression()->Object() in ConvertTupleAssignment() [all...] |
H A D | unionLowering.cpp | 185 if (ast->IsMemberExpression() && ast->AsMemberExpression()->Object()->TsType() != nullptr) { in Perform() 187 checker->GetApparentType(checker->GetNonNullishType(ast->AsMemberExpression()->Object()->TsType())); in Perform() 211 if (!ast->IsMemberExpression() || ast->AsMemberExpression()->Object()->TsType() == nullptr) { in Postcondition() 215 checker->GetApparentType(checker->GetNonNullishType(ast->AsMemberExpression()->Object()->TsType())); in Postcondition()
|
H A D | optionalLowering.cpp | 83 return LowerOptionalExpr<ir::MemberExpression>([](auto *e) { return e->Object(); }, in LowerExpression() 100 return typed->IsOptional() ? typed : FindOptionalInChain(typed->Object());
|
H A D | objectIndexAccess.cpp | 17 // desc: Object index access syntax is translated to the call of special setter (in case of assignment): 41 CALL_EXPRESSION, memberExpression->Object(), memberExpression->Property(), assignmentExpression->Right()); in ProcessIndexSetAccess() 59 parser->CreateFormattedExpression(CALL_EXPRESSION, memberExpression->Object(), memberExpression->Property()); in ProcessIndexGetAccess()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 645 V(Object, Constructor) \ 646 V(Object, Assign) \ 647 V(Object, Create) \ 648 V(Object, CreateDataPropertyOnObjectFunctions) \ 649 V(Object, DefineProperties) \ 650 V(Object, DefineProperty) \ 651 V(Object, Freeze) \ 652 V(Object, FromEntries) \ 653 V(Object, GetOwnPropertyDescriptor) \ 654 V(Object, GetOwnPropertyDescriptor [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | lreference.cpp | 88 if (memberExpr->Object()->IsSuperExpression()) { in JSLReference() 97 memberExpr->Object()->Compile(pg_); in JSLReference() 185 staticObjRef_ = memberExpr->Object()->TsType(); in ETSLReference() 191 TargetTypeContext ttctx(etsg_, memberExpr->Object()->TsType()); in ETSLReference() 192 memberExpr->Object()->Compile(etsg_); in ETSLReference() 292 const auto *const objectType = memberExpr->Object()->TsType(); in SetValueComputed() 335 const auto *const memberExprTsType = memberExpr->Object()->TsType()->IsETSTupleType() in SetValue() 336 ? memberExpr->Object()->TsType()->AsETSTupleType()->ElementType() in SetValue() 366 auto const *objectType = memberExpr->Object()->TsType(); in SetValue()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | util.cpp | 29 while (iter->Object()->IsMemberExpression()) { in ResolveLeftMostMemberExpression() 30 iter = iter->Object()->AsMemberExpression(); in ResolveLeftMostMemberExpression() 158 bool res = IsConstantMemberAccess(expr->AsMemberExpression()->Object()); in IsConstantMemberAccess()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | identifierHasVariable.cpp | 102 (ast->Parent()->AsMemberExpression()->Object()->TsType() == nullptr || in CheckAstExceptions() 103 ast->Parent()->AsMemberExpression()->Object()->TsType()->IsETSEnumType())) { in CheckAstExceptions()
|
H A D | checkAbstractMethod.cpp | 34 auto obj = call->Callee()->AsMemberExpression()->Object(); in operator ()()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | memberExpression.h | 49 const Expression *Object() const in Object() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression 54 Expression *Object() in Object() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | util.cpp | 41 while (iter->Object()->IsMemberExpression()) { in ResolveLeftMostMemberExpression() 42 iter = iter->Object()->AsMemberExpression(); in ResolveLeftMostMemberExpression() 190 bool res = IsConstantMemberAccess(expr->AsMemberExpression()->Object()); in IsConstantMemberAccess()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 93 using Object = builtins::BuiltinsObject; 183 reinterpret_cast<uintptr_t>(Object::ObjectConstructor), 184 reinterpret_cast<uintptr_t>(Object::FromEntries), 273 reinterpret_cast<uintptr_t>(Object::Assign), 274 reinterpret_cast<uintptr_t>(Object::Create), 275 reinterpret_cast<uintptr_t>(Object::DefineProperties), 276 reinterpret_cast<uintptr_t>(Object::DefineProperty), 277 reinterpret_cast<uintptr_t>(Object::Freeze), 278 reinterpret_cast<uintptr_t>(Object::GetOwnPropertyDescriptor), 279 reinterpret_cast<uintptr_t>(Object [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/mirrors/ |
H A D | __init__.py | 22 from .object import Object, ObjectMeta, mirror_object, mirror_object_type namespace
|
H A D | object.py | 77 class Object(metaclass=ObjectMeta): class 85 t = ObjectMeta(cls_name, (Object,), kwargs, module=__package__)
|
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/ |
H A D | code_info_producer.h | 24 #include <llvm/Object/FaultMapParser.h> 25 #include <llvm/Object/StackMapParser.h>
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/ |
H A D | test_mirror.py | 26 from arkdb.mirrors import Object, arkts_str namespace 179 class ClassA(Object):
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
H A D | tsAsExpression.cpp | 67 if (memberExpr->Object()->IsIdentifier()) { in IsValidConstAssertionArgument() 68 binder::ScopeFindResult result = checker->Scope()->Find(memberExpr->Object()->AsIdentifier()->Name()); in IsValidConstAssertionArgument()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_call_signature.h | 78 V(ToString, Object, Undefined()) \
79 V(Create, Object, Undefined()) \
80 V(Assign, Object, Undefined()) \
81 V(HasOwnProperty, Object, TaggedFalse()) \
82 V(Keys, Object, Undefined()) \
83 V(GetPrototypeOf, Object, Undefined()) \
84 V(GetOwnPropertyNames, Object, Undefined()) \
85 V(GetOwnPropertySymbols, Object, Undefined()) \
86 V(Entries, Object, Undefined()) \
87 V(IsFrozen, Object, Undefine [all...] |
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/ |
H A D | object_repository.cpp | 30 return RemoteObject::Object("[Global]", GLOBAL_OBJECT_ID, "Global object"); in CreateGlobalObject() 53 return RemoteObject::Object("", id, "Frame #" + std::to_string(frame.GetFrameId())); in CreateFrameObject() 223 return RemoteObject::Object(extension_->GetClassName(object), id); in CreateObject()
|