Searched refs:NormalBinaryOperator (Results 1 – 7 of 7) sorted by relevance
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/common/ |
| D | ArkIRTransformer.ts | 24 NormalBinaryOperator, 752 return NormalBinaryOperator.NullishCoalescing; 754 return NormalBinaryOperator.Exponentiation; 756 return NormalBinaryOperator.Division; 758 return NormalBinaryOperator.Addition; 760 return NormalBinaryOperator.Subtraction; 762 return NormalBinaryOperator.Multiplication; 764 return NormalBinaryOperator.Remainder; 766 return NormalBinaryOperator.LeftShift; 768 return NormalBinaryOperator.RightShift; [all …]
|
| D | ArkValueTransformer.ts | 37 NormalBinaryOperator, 538 …Expr = new ArkNormalBinopExpr(currTemplateResult, templateParts[i], NormalBinaryOperator.Addition); 1139 …= operatorToken === ts.SyntaxKind.PlusPlusToken ? NormalBinaryOperator.Addition : NormalBinaryOper… constant 1192 …= operatorToken === ts.SyntaxKind.PlusPlusToken ? NormalBinaryOperator.Addition : NormalBinaryOper… constant 1555 … exprValue = new ArkNormalBinopExpr(opValue1, opValue2, operator as NormalBinaryOperator); 1609 …private compoundAssignmentTokenToBinaryOperator(token: ts.SyntaxKind): NormalBinaryOperator | null… 1612 return NormalBinaryOperator.NullishCoalescing; 1614 return NormalBinaryOperator.Exponentiation; 1616 return NormalBinaryOperator.Division; 1618 return NormalBinaryOperator.Addition; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/base/ |
| D | PrinterUtils.ts | 17 import { ArkInstanceInvokeExpr, ArkNormalBinopExpr, ArkStaticInvokeExpr, NormalBinaryOperator } fro… 67 public static isDeIncrementStmt(stmt: Stmt | null, op: NormalBinaryOperator): boolean {
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/source/ |
| D | SourceTransformer.ts | 32 NormalBinaryOperator, 355 …if (operator === NormalBinaryOperator.Division || operator === NormalBinaryOperator.Multiplication…
|
| D | SourceStmt.ts | 22 NormalBinaryOperator 620 …if (PrinterUtils.isDeIncrementStmt(stmt, NormalBinaryOperator.Addition) && (stmt.getLeftOp() as Lo… 625 …if (PrinterUtils.isDeIncrementStmt(stmt, NormalBinaryOperator.Subtraction) && (stmt.getLeftOp() as…
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/ |
| D | NoTSLikeAsCheck.ts | 41 NormalBinaryOperator, 216 … if (operator !== NormalBinaryOperator.Addition && operator !== NormalBinaryOperator.Subtraction) { 336 if (operator === NormalBinaryOperator.LogicalAnd) { 351 if (operator === NormalBinaryOperator.LogicalOr) {
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/base/ |
| D | Expr.ts | 548 export enum NormalBinaryOperator { enum 587 export type BinaryOperator = NormalBinaryOperator | RelationalBinaryOperator; 783 constructor(op1: Value, op2: Value, operator: NormalBinaryOperator) {
|