Home
last modified time | relevance | path

Searched refs:OperatorType (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dobject_operator.h28 enum class OperatorType : uint8_t { enum
38 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
41 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
44 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
48 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
51 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
54 OperatorType type = OperatorType::PROTOTYPE_CHAIN);
295 void StartLookUp(OperatorType type);
296 void StartGlobalLookUp(OperatorType type);
Dobject_operator.cpp115 void ObjectOperator::StartLookUp(OperatorType type) in StartLookUp()
119 if (type == OperatorType::OWN) { in StartLookUp()
126 void ObjectOperator::StartGlobalLookUp(OperatorType type) in StartGlobalLookUp()
130 if (type == OperatorType::OWN) { in StartGlobalLookUp()
137 ObjectOperator::ObjectOperator(JSThread *thread, const JSHandle<JSTaggedValue> &key, OperatorType t… in ObjectOperator()
147 OperatorType type) in ObjectOperator()
155 const JSHandle<JSTaggedValue> &key, OperatorType type) in ObjectOperator()
163 OperatorType type) in ObjectOperator()
174 OperatorType type) in ObjectOperator()
184 OperatorType type) in ObjectOperator()
Djs_object.cpp232 ObjectOperator op(thread, receiver, lengthKey, OperatorType::OWN); in IsArrayLengthWritable()
493 ObjectOperator op(thread, objValue, i, OperatorType::OWN); in GetAllElementKeysByFilter()
932 ObjectOperator op(thread, JSHandle<JSTaggedValue>(obj), key, OperatorType::OWN); in DeleteProperty()
959 ObjectOperator op(thread, key, OperatorType::OWN); in GlobalGetOwnProperty()
980 ObjectOperator op(thread, JSHandle<JSTaggedValue>(obj), key, OperatorType::OWN); in OrdinaryGetOwnProperty()
1019 ObjectOperator op(thread, objValue, key, OperatorType::OWN); in OrdinaryDefineOwnProperty()
1032 ObjectOperator op(thread, objValue, index, OperatorType::OWN); in OrdinaryDefineOwnProperty()
2104 ObjectOperator op(thread, obj, key, OperatorType::OWN); in DefineSetter()
2114 ObjectOperator op(thread, obj, key, OperatorType::OWN); in DefineGetter()
2187 ObjectOperator op(thread, obj, key, OperatorType::OWN); in AddAccessor()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dcondition.cpp29 switch (binExpr->OperatorType()) { in Compile()
49 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in Compile()
76 … expr->AsUnaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_EXCLAMATION_MARK) { in Compile()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DunaryExpression.h40 lexer::TokenType OperatorType() const in OperatorType() function
DupdateExpression.h44 lexer::TokenType OperatorType() const in OperatorType() function
DassignmentExpression.h66 lexer::TokenType OperatorType() const in OperatorType() function
DbinaryExpression.h60 lexer::TokenType OperatorType() const in OperatorType() function
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_operator_test.cpp511 OperatorType type = OperatorType::PROTOTYPE_CHAIN; in HWTEST_F_L0()
517 type = OperatorType::OWN; in HWTEST_F_L0()
530 OperatorType type = OperatorType::PROTOTYPE_CHAIN; in HWTEST_F_L0()
534 type = OperatorType::OWN; in HWTEST_F_L0()
547 OperatorType type = OperatorType::PROTOTYPE_CHAIN; in HWTEST_F_L0()
551 type = OperatorType::OWN; in HWTEST_F_L0()
562 OperatorType type = OperatorType::PROTOTYPE_CHAIN; in HWTEST_F_L0()
566 type = OperatorType::OWN; in HWTEST_F_L0()
577 OperatorType type = OperatorType::PROTOTYPE_CHAIN; in HWTEST_F_L0()
581 type = OperatorType::OWN; in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dic_handler_test.cpp224 ObjectOperator handleOp1(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
225 ObjectOperator handleOp2(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
263 ObjectOperator handleOp(thread, handleKey, OperatorType::OWN); in HWTEST_F_L0()
Dic_runtime_test.cpp135 ObjectOperator handleOp2(thread, handleReceiver, handleKeyWithString, OperatorType::OWN); in HWTEST_F_L0()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsEnumDeclaration.cpp112 switch (expr->OperatorType()) { in EvaluateUnaryExpression()
159 switch (expr->AsBinaryExpression()->OperatorType()) { in EvaluateBinaryExpression()
205 expr->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_PLUS) { in EvaluateBinaryExpression()
DtsAsExpression.cpp58 lexer::TokenType op = unaryExpr->OperatorType(); in IsValidConstAssertionArgument()
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dutil.cpp59 return IsAssignmentOperator(binaryExpr->OperatorType()) && binaryExpr->Left() == parent; in InAssignment()
Dhelpers.cpp269 … parent->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_LOGICAL_AND) { in IsVariableUsedInBinaryExpressionChain()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp624 if (unaryExpression->OperatorType() == lexer::TokenType::PUNCTUATOR_PLUS) { in GetSignedNumberLiteral()
626 } else if (unaryExpression->OperatorType() == lexer::TokenType::PUNCTUATOR_MINUS) { in GetSignedNumberLiteral()
/arkcompiler/ets_frontend/es2panda/parser/
DexpressionParser.cpp1212 …return GetOperatorPrecedence(binaryExpression->OperatorType()) <= GetOperatorPrecedence(operatorTy… in ShouldBinaryExpressionBeAmended()
1215 binaryExpression->OperatorType() != lexer::TokenType::PUNCTUATOR_EXPONENTIATION); in ShouldBinaryExpressionBeAmended()
1247 …rightExpr->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_NULLISH_COALESCING… in ParseBinaryExpression()
DstatementParser.cpp1392 if (binaryExpr->OperatorType() == lexer::TokenType::KEYW_IN) { in ParseForInOf()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp1774 if (expr->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_PLUS && in IsStringInitForEnumMember()