Home
last modified time | relevance | path

Searched refs:right_ (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/statements/
DforInStatement.cpp34 cb(right_); in Iterate()
40 dumper->Add({{"type", "ForInStatement"}, {"left", left_}, {"right", right_}, {"body", body_}}); in Dump()
57 pg->SetLabel(right_, labelSet.TryBegin()); in Compile()
58 right_->Compile(pg); in Compile()
61 pg->SetLabel(right_, labelSet.TryEnd()); in Compile()
62 pg->Branch(right_, labelSet.CatchEnd()); in Compile()
64 pg->SetLabel(right_, labelSet.CatchBegin()); in Compile()
66 pg->StoreAccumulator(right_, exception); in Compile()
70 pg->LoadAccumulator(right_, exception); in Compile()
71 pg->EmitThrow(right_); in Compile()
[all …]
DforOfStatement.cpp34 cb(right_); in Iterate()
40 …dumper->Add({{"type", "ForOfStatement"}, {"await", isAwait_}, {"left", left_}, {"right", right_}, … in Dump()
54 pg->SetLabel(right_, labelSet.TryBegin()); in Compile()
55 right_->Compile(pg); in Compile()
56 pg->SetLabel(right_, labelSet.TryEnd()); in Compile()
57 pg->Branch(right_, labelSet.CatchEnd()); in Compile()
59 pg->SetLabel(right_, labelSet.CatchBegin()); in Compile()
61 pg->StoreAccumulator(right_, exception); in Compile()
65 pg->LoadAccumulator(right_, exception); in Compile()
66 pg->EmitThrow(right_); in Compile()
[all …]
DforInStatement.h41 … : LoopStatement(AstNodeType::FOR_IN_STATEMENT, scope), left_(left), right_(right), body_(body) in ForInStatement()
57 return right_; in Right()
62 return right_; in Right()
83 Expression *right_; variable
DforOfStatement.h43 right_(right), in ForOfStatement()
61 return right_; in Right()
66 return right_; in Right()
92 Expression *right_; variable
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DassignmentExpression.cpp66 if (!right_->IsAssignmentExpression()) { in ConvertibleToAssignmentPattern()
70 switch (right_->Type()) { in ConvertibleToAssignmentPattern()
72 convResult = right_->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToAssignmentPattern()
81 convResult = right_->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToAssignmentPattern()
85 convResult = right_->AsAssignmentExpression()->ConvertibleToAssignmentPattern(false); in ConvertibleToAssignmentPattern()
99 cb(right_); in Iterate()
105 …d({{"type", "AssignmentExpression"}, {"operator", operator_}, {"left", left_}, {"right", right_}}); in Dump()
107 dumper->Add({{"type", "AssignmentPattern"}, {"left", left_}, {"right", right_}}); in Dump()
138 right_->Compile(pg); in Compile()
151 right_->Compile(pg); in Compile()
[all …]
DbinaryExpression.cpp30 cb(right_); in Iterate()
38 {"right", right_}}); in Dump()
72 right_->Compile(pg); in CompileLogical()
93 right_->Compile(pg); in Compile()
101 auto *rightType = right_->Check(checker); in Check()
115 … return checker->CheckBinaryOperator(leftType, rightType, left_, right_, this, operator_); in Check()
118 return checker->CheckPlusOperator(leftType, rightType, left_, right_, this, operator_); in Check()
122 … return checker->CheckCompareOperator(leftType, rightType, left_, right_, this, operator_); in Check()
136 return checker->CheckInstanceofExpression(leftType, rightType, right_, this); in Check()
139 return checker->CheckInExpression(leftType, rightType, left_, right_, this); in Check()
[all …]
DassignmentExpression.h42 : Expression(type), left_(left), right_(right), operator_(assignmentOperator) in AssignmentExpression()
58 return right_; in Right()
63 return right_; in Right()
82 Expression *right_; variable
DbinaryExpression.h36 …: Expression(AstNodeType::BINARY_EXPRESSION), left_(leftExpr), right_(rightExpr), operator_(operat… in BinaryExpression()
52 return right_; in Right()
57 return right_; in Right()
91 Expression *right_; variable
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsQualifiedName.cpp27 cb(right_); in Iterate()
32 dumper->Add({{"type", "TSQualifiedName"}, {"left", left_}, {"right", right_}}); in Dump()
40 binder::Variable *prop = checker->GetPropertyOfType(baseType, right_->Name()); in Check()
54 …checker->ThrowTypeError({"Property ", right_->Name(), " does not exist on this type."}, right_->St… in Check()
61 right_ = std::get<ir::AstNode *>(cb(right_))->AsIdentifier(); in UpdateSelf()
DtsQualifiedName.h35 : Expression(AstNodeType::TS_QUALIFIED_NAME), left_(left), right_(right) in TSQualifiedName()
51 return right_; in Right()
56 return right_; in Right()
67 Identifier *right_; variable