/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign.ts | 21 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))
|
D | varianceProblingAndZeroOrderIndexSignatureRelationsAlign2.ts | 21 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))
|
D | nonInferrableTypePropagation2.ts | 30 interface Right<A> { interface 35 type Either<E, A> = Left<E> | Right<A>;
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | condition.cpp | 48 binExpr->Right()->Compile(pg); in Compile() 56 binExpr->Right()->Compile(pg); in Compile() 66 binExpr->Right()->Compile(pg); in Compile()
|
D | destructuring.cpp | 104 init = assignment->Right(); in GenArray() 140 init = assignment->Right(); in GenObjectProperty()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsQualifiedName.h | 49 const Identifier *Right() const in Right() function 54 Identifier *Right() in Right() function
|
D | tsEnumDeclaration.cpp | 157 … TSEnumDeclaration::EvaluateEnumMember(checker, enumVar, expr->AsBinaryExpression()->Right()); in EvaluateBinaryExpression()
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | forInStatement.h | 55 Expression *Right() in Right() function 60 const Expression *Right() const in Right() function
|
D | forOfStatement.h | 59 Expression *Right() in Right() function 64 const Expression *Right() const in Right() function
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | assignmentExpression.h | 56 Expression *Right() in Right() function 61 const Expression *Right() const in Right() function
|
D | binaryExpression.h | 50 const Expression *Right() const in Right() function 55 Expression *Right() in Right() function
|
D | arrayExpression.cpp | 311 … checker->GetBaseTypeOfLiteralType(assignmentPattern->Right()->Check(checker)); in CheckPattern() 318 … true, nullptr, assignmentPattern->Right()); in CheckPattern() 326 … false, true, nullptr, assignmentPattern->Right()); in CheckPattern()
|
D | objectExpression.cpp | 483 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/ |
D | binaryLikeExpression.cpp | 223 … leftExpr->Parent()->AsAssignmentExpression()->Right()->IsMemberExpression() || in CheckAssignmentOperator() 224 … leftExpr->Parent()->AsAssignmentExpression()->Right()->IsChainExpression()); in CheckAssignmentOperator()
|
D | function.cpp | 198 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()
|
D | destructuringContext.cpp | 133 Type *defaultType = assignmentPattern->Right()->Check(checker_); in HandleAssignmentPattern() 139 if (validateDefault && assignmentPattern->Right()->IsObjectExpression() && in HandleAssignmentPattern()
|
D | helpers.cpp | 433 var->SetTsType(declaration->AsAssignmentPattern()->Right()->Check(this)); in GetTypeOfVariable()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | function.cpp | 110 param->AsAssignmentPattern()->Right()->Compile(pg); in CompileFunctionParameterDeclaration() 121 param->AsAssignmentPattern()->Right()->Compile(pg); in CompileFunctionParameterDeclaration()
|
/arkcompiler/runtime_core/ |
D | .clang-format | 106 PointerAlignment: Right
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | binder.cpp | 453 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/ |
D | tagged_node.h | 120 ACCESSORS(Right, RIGHT_OFFSET, ISRED_OFFSET);
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 512 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/ |
D | transformer.cpp | 1203 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/ |
D | expressionParser.cpp | 331 if (assignmentExpr->Right()->IsYieldExpression()) { in ValidateArrowParameter() 335 if (assignmentExpr->Right()->IsAwaitExpression()) { in ValidateArrowParameter()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …eFile)||t},(Z=e.Associativity||(e.Associativity={}))[Z.Left=0]="Left",Z[Z.Right=1]="Right",e.getEx…
|