Searched refs:binaryOperator (Results 1 – 5 of 5) sorted by relevance
| /third_party/typescript/src/compiler/factory/ |
| D | parenthesizerRules.ts | 72 …function binaryOperandNeedsParentheses(binaryOperator: SyntaxKind, operand: Expression, isLeftSide… 90 …onst binaryOperatorPrecedence = getOperatorPrecedence(SyntaxKind.BinaryExpression, binaryOperator); 91 …inaryOperatorAssociativity = getOperatorAssociativity(SyntaxKind.BinaryExpression, binaryOperator); 129 && emittedOperand.operatorToken.kind === binaryOperator) { 136 if (operatorHasAssociativeProperty(binaryOperator)) { 146 if (binaryOperator === SyntaxKind.PlusToken) { 174 function operatorHasAssociativeProperty(binaryOperator: SyntaxKind) { 184 return binaryOperator === SyntaxKind.AsteriskToken 185 || binaryOperator === SyntaxKind.BarToken 186 || binaryOperator === SyntaxKind.AmpersandToken [all …]
|
| /third_party/typescript/src/compiler/ |
| D | utilities.ts | 2993 const binaryOperator = (parent as BinaryExpression).operatorToken.kind; constant 2994 … return isAssignmentOperator(binaryOperator) && (parent as BinaryExpression).left === node ? 2995 …binaryOperator === SyntaxKind.EqualsToken || isLogicalOrCoalescingAssignmentOperator(binaryOperato…
|
| D | types.ts | 7728 …getParenthesizeLeftSideOfBinaryForOperator(binaryOperator: SyntaxKind): (leftSide: Expression) => … 7729 …getParenthesizeRightSideOfBinaryForOperator(binaryOperator: SyntaxKind): (rightSide: Expression) =… 7730 parenthesizeLeftSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression): Expression; 7731 …parenthesizeRightSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression | undefined, rightS…
|
| /third_party/typescript/lib/ |
| D | typingsInstaller.js | 17406 var binaryOperator = parent.operatorToken.kind; 17407 return isAssignmentOperator(binaryOperator) && parent.left === node ? 17408 …binaryOperator === 63 /* SyntaxKind.EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(bina… 22022 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 22040 …eratorPrecedence = ts.getOperatorPrecedence(225 /* SyntaxKind.BinaryExpression */, binaryOperator); 22041 …Associativity = ts.getOperatorAssociativity(225 /* SyntaxKind.BinaryExpression */, binaryOperator); 22076 && emittedOperand.operatorToken.kind === binaryOperator) { 22083 if (operatorHasAssociativeProperty(binaryOperator)) { 22092 if (binaryOperator === 39 /* SyntaxKind.PlusToken */) { 22118 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | tsc.js | 13661 var binaryOperator = parent.operatorToken.kind; 13662 return isAssignmentOperator(binaryOperator) && parent.left === node ? 13663 … binaryOperator === 63 || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 : 2 : 17612 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 17613 var binaryOperatorPrecedence = ts.getOperatorPrecedence(225, binaryOperator); 17614 var binaryOperatorAssociativity = ts.getOperatorAssociativity(225, binaryOperator); 17636 && emittedOperand.operatorToken.kind === binaryOperator) { 17637 if (operatorHasAssociativeProperty(binaryOperator)) { 17640 if (binaryOperator === 39) { 17652 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|