Home
last modified time | relevance | path

Searched refs:Right (Results 1 – 25 of 25) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign.ts21 type Either<L, A> = Left<L, A> | Right<L, A>;
41 class Right<L, A> { class
47 AssertType(new Right(f(this.value)), "Right<L, B>");
48 AssertType(Right, "typeof Right");
53 return new Right(f(this.value))
DvarianceProblingAndZeroOrderIndexSignatureRelationsAlign2.ts21 type Either<L, A> = Left<L, A> | Right<L, A>;
41 class Right<L, A> { class
47 AssertType(new Right(f(this.value)), "Right<L, B>");
48 AssertType(Right, "typeof Right");
53 return new Right(f(this.value))
DnonInferrableTypePropagation2.ts30 interface Right<A> { interface
35 type Either<E, A> = Left<E> | Right<A>;
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dcondition.cpp48 binExpr->Right()->Compile(pg); in Compile()
56 binExpr->Right()->Compile(pg); in Compile()
66 binExpr->Right()->Compile(pg); in Compile()
Ddestructuring.cpp104 init = assignment->Right(); in GenArray()
140 init = assignment->Right(); in GenObjectProperty()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsQualifiedName.h49 const Identifier *Right() const in Right() function
54 Identifier *Right() in Right() function
DtsEnumDeclaration.cpp157 … TSEnumDeclaration::EvaluateEnumMember(checker, enumVar, expr->AsBinaryExpression()->Right()); in EvaluateBinaryExpression()
/arkcompiler/ets_frontend/es2panda/ir/statements/
DforInStatement.h55 Expression *Right() in Right() function
60 const Expression *Right() const in Right() function
DforOfStatement.h59 Expression *Right() in Right() function
64 const Expression *Right() const in Right() function
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DassignmentExpression.h56 Expression *Right() in Right() function
61 const Expression *Right() const in Right() function
DbinaryExpression.h50 const Expression *Right() const in Right() function
55 Expression *Right() in Right() function
DarrayExpression.cpp311 … checker->GetBaseTypeOfLiteralType(assignmentPattern->Right()->Check(checker)); in CheckPattern()
318 … true, nullptr, assignmentPattern->Right()); in CheckPattern()
326 … false, true, nullptr, assignmentPattern->Right()); in CheckPattern()
DobjectExpression.cpp483 patternParamType = assignmentPattern->Right()->Check(checker); in CheckPattern()
513 … checker->GetBaseTypeOfLiteralType(assignmentPattern->Right()->Check(checker)); in CheckPattern()
522 … false, true, nullptr, assignmentPattern->Right()); in CheckPattern()
539 … false, true, nullptr, assignmentPattern->Right()); in CheckPattern()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DbinaryLikeExpression.cpp223 … leftExpr->Parent()->AsAssignmentExpression()->Right()->IsMemberExpression() || in CheckAssignmentOperator()
224 … leftExpr->Parent()->AsAssignmentExpression()->Right()->IsChainExpression()); in CheckAssignmentOperator()
Dfunction.cpp198 newProp->SetTsType(GetBaseTypeOfLiteralType(CheckTypeCached(assignmentPattern->Right()))); in CreateParameterTypeForObjectAssignmentPattern()
218 ElaborateElementwise(paramType, param->Right(), paramIdent->Start()); in CheckFunctionAssignmentPatternParameter()
222 paramVar->SetTsType(GetBaseTypeOfLiteralType(param->Right()->Check(this))); in CheckFunctionAssignmentPatternParameter()
235 …tructuringContext(this, arrayPattern, false, true, arrayPattern->TypeAnnotation(), param->Right()); in CheckFunctionAssignmentPatternParameter()
242 param->Right()); in CheckFunctionAssignmentPatternParameter()
DdestructuringContext.cpp133 Type *defaultType = assignmentPattern->Right()->Check(checker_); in HandleAssignmentPattern()
139 if (validateDefault && assignmentPattern->Right()->IsObjectExpression() && in HandleAssignmentPattern()
Dhelpers.cpp433 var->SetTsType(declaration->AsAssignmentPattern()->Right()->Check(this)); in GetTypeOfVariable()
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dfunction.cpp110 param->AsAssignmentPattern()->Right()->Compile(pg); in CompileFunctionParameterDeclaration()
121 param->AsAssignmentPattern()->Right()->Compile(pg); in CompileFunctionParameterDeclaration()
/arkcompiler/runtime_core/
D.clang-format106 PointerAlignment: Right
/arkcompiler/ets_frontend/es2panda/binder/
Dbinder.cpp453 ResolveReference(childNode, childNode->AsAssignmentPattern()->Right()); in BuildVarDeclaratorId()
761 …BuildForInOfLoop(forInStmt, forInStmt->Scope(), forInStmt->Left(), forInStmt->Right(), forInStmt->… in ResolveReference()
767 …BuildForInOfLoop(forOfStmt, forOfStmt->Scope(), forOfStmt->Left(), forOfStmt->Right(), forOfStmt->… in ResolveReference()
944 ident->Parent()->AsAssignmentExpression()->Right() == ident; in ReplaceConstReferenceWithInitialization()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_node.h120 ACCESSORS(Right, RIGHT_OFFSET, ISRED_OFFSET);
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeExtractor.cpp512 identifiers.emplace_front(head->AsTSQualifiedName()->Right()); in GetTypeIndexFromTSQualifiedNode()
533 auto right = node->AsTSQualifiedName()->Right(); in GetTypeIndexFromTSQualifiedNode()
1014 identifiers.emplace_front(ref->AsTSQualifiedName()->Right()); in GetVariablesFromTSQualifiedNodes()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.cpp1203 auto name = tsQualifiedName->Right()->Name(); in FindTSModuleVariable()
1308 auto *right = AllocNode<ir::Identifier>(tsQualifiedName->Right()->Name()); in CreateMemberExpressionFromQualified()
1773 auto *right = expr->AsBinaryExpression()->Right(); in IsStringInitForEnumMember()
2025 members.push_front(node->AsTSQualifiedName()->Right()->AsIdentifier()); in VerifyMemberExpressionDeque()
/arkcompiler/ets_frontend/es2panda/parser/
DexpressionParser.cpp331 if (assignmentExpr->Right()->IsYieldExpression()) { in ValidateArrowParameter()
335 if (assignmentExpr->Right()->IsAwaitExpression()) { in ValidateArrowParameter()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …eFile)||t},(Z=e.Associativity||(e.Associativity={}))[Z.Left=0]="Left",Z[Z.Right=1]="Right",e.getEx…