| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_operator.h | 28 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);
|
| D | object_operator.cpp | 115 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()
|
| D | js_object.cpp | 232 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/ |
| D | condition.cpp | 29 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/ |
| D | unaryExpression.h | 40 lexer::TokenType OperatorType() const in OperatorType() function
|
| D | updateExpression.h | 44 lexer::TokenType OperatorType() const in OperatorType() function
|
| D | assignmentExpression.h | 66 lexer::TokenType OperatorType() const in OperatorType() function
|
| D | binaryExpression.h | 60 lexer::TokenType OperatorType() const in OperatorType() function
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | object_operator_test.cpp | 511 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/ |
| D | ic_handler_test.cpp | 224 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()
|
| D | ic_runtime_test.cpp | 135 ObjectOperator handleOp2(thread, handleReceiver, handleKeyWithString, OperatorType::OWN); in HWTEST_F_L0()
|
| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsEnumDeclaration.cpp | 112 switch (expr->OperatorType()) { in EvaluateUnaryExpression() 159 switch (expr->AsBinaryExpression()->OperatorType()) { in EvaluateBinaryExpression() 205 expr->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_PLUS) { in EvaluateBinaryExpression()
|
| D | tsAsExpression.cpp | 58 lexer::TokenType op = unaryExpr->OperatorType(); in IsValidConstAssertionArgument()
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | util.cpp | 59 return IsAssignmentOperator(binaryExpr->OperatorType()) && binaryExpr->Left() == parent; in InAssignment()
|
| D | helpers.cpp | 269 … parent->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_LOGICAL_AND) { in IsVariableUsedInBinaryExpressionChain()
|
| /arkcompiler/ets_frontend/es2panda/util/ |
| D | helpers.cpp | 624 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/ |
| D | expressionParser.cpp | 1212 …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()
|
| D | statementParser.cpp | 1392 if (binaryExpr->OperatorType() == lexer::TokenType::KEYW_IN) { in ParseForInOf()
|
| /arkcompiler/ets_frontend/es2panda/parser/transformer/ |
| D | transformer.cpp | 1774 if (expr->AsBinaryExpression()->OperatorType() == lexer::TokenType::PUNCTUATOR_PLUS && in IsStringInitForEnumMember()
|