Searched refs:binaryOperator (Results 1 – 9 of 9) sorted by relevance
| /third_party/typescript/src/compiler/factory/ |
| D | parenthesizerRules.ts | 38 …function binaryOperandNeedsParentheses(binaryOperator: SyntaxKind, operand: Expression, isLeftSide… 56 …onst binaryOperatorPrecedence = getOperatorPrecedence(SyntaxKind.BinaryExpression, binaryOperator); 57 …inaryOperatorAssociativity = getOperatorAssociativity(SyntaxKind.BinaryExpression, binaryOperator); 95 && emittedOperand.operatorToken.kind === binaryOperator) { 102 if (operatorHasAssociativeProperty(binaryOperator)) { 112 if (binaryOperator === SyntaxKind.PlusToken) { 140 function operatorHasAssociativeProperty(binaryOperator: SyntaxKind) { 149 return binaryOperator === SyntaxKind.AsteriskToken 150 || binaryOperator === SyntaxKind.BarToken 151 || binaryOperator === SyntaxKind.AmpersandToken [all …]
|
| /third_party/typescript/src/compiler/ |
| D | utilities.ts | 2968 const binaryOperator = (<BinaryExpression>parent).operatorToken.kind; constant 2969 … return isAssignmentOperator(binaryOperator) && (<BinaryExpression>parent).left === node ? 2970 …binaryOperator === SyntaxKind.EqualsToken || isLogicalOrCoalescingAssignmentOperator(binaryOperato…
|
| D | types.ts | 6831 parenthesizeLeftSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression): Expression; 6832 …parenthesizeRightSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression | undefined, rightS…
|
| /third_party/typescript/lib/ |
| D | tsc.js | 12402 var binaryOperator = parent.operatorToken.kind; 12403 return isAssignmentOperator(binaryOperator) && parent.left === node ? 12404 … binaryOperator === 62 || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 : 2 : 15908 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 15909 var binaryOperatorPrecedence = ts.getOperatorPrecedence(218, binaryOperator); 15910 var binaryOperatorAssociativity = ts.getOperatorAssociativity(218, binaryOperator); 15932 && emittedOperand.operatorToken.kind === binaryOperator) { 15933 if (operatorHasAssociativeProperty(binaryOperator)) { 15936 if (binaryOperator === 39) { 15948 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | typingsInstaller.js | 15935 var binaryOperator = parent.operatorToken.kind; 15936 return isAssignmentOperator(binaryOperator) && parent.left === node ? 15937 …binaryOperator === 62 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator)… 20066 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 20084 …ar binaryOperatorPrecedence = ts.getOperatorPrecedence(218 /* BinaryExpression */, binaryOperator); 20085 …aryOperatorAssociativity = ts.getOperatorAssociativity(218 /* BinaryExpression */, binaryOperator); 20120 && emittedOperand.operatorToken.kind === binaryOperator) { 20127 if (operatorHasAssociativeProperty(binaryOperator)) { 20136 if (binaryOperator === 39 /* PlusToken */) { 20162 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | typescriptServices.js | 16140 var binaryOperator = parent.operatorToken.kind; 16141 return isAssignmentOperator(binaryOperator) && parent.left === node ? 16142 …binaryOperator === 62 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator)… 20271 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 20289 …ar binaryOperatorPrecedence = ts.getOperatorPrecedence(218 /* BinaryExpression */, binaryOperator); 20290 …aryOperatorAssociativity = ts.getOperatorAssociativity(218 /* BinaryExpression */, binaryOperator); 20325 && emittedOperand.operatorToken.kind === binaryOperator) { 20332 if (operatorHasAssociativeProperty(binaryOperator)) { 20341 if (binaryOperator === 39 /* PlusToken */) { 20367 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | tsserverlibrary.js | 16140 var binaryOperator = parent.operatorToken.kind; 16141 return isAssignmentOperator(binaryOperator) && parent.left === node ? 16142 …binaryOperator === 62 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator)… 20271 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 20289 …ar binaryOperatorPrecedence = ts.getOperatorPrecedence(218 /* BinaryExpression */, binaryOperator); 20290 …aryOperatorAssociativity = ts.getOperatorAssociativity(218 /* BinaryExpression */, binaryOperator); 20325 && emittedOperand.operatorToken.kind === binaryOperator) { 20332 if (operatorHasAssociativeProperty(binaryOperator)) { 20341 if (binaryOperator === 39 /* PlusToken */) { 20367 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | tsserver.js | 15946 var binaryOperator = parent.operatorToken.kind; 15947 return isAssignmentOperator(binaryOperator) && parent.left === node ? 15948 …binaryOperator === 62 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator)… 20077 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 20095 …ar binaryOperatorPrecedence = ts.getOperatorPrecedence(218 /* BinaryExpression */, binaryOperator); 20096 …aryOperatorAssociativity = ts.getOperatorAssociativity(218 /* BinaryExpression */, binaryOperator); 20131 && emittedOperand.operatorToken.kind === binaryOperator) { 20138 if (operatorHasAssociativeProperty(binaryOperator)) { 20147 if (binaryOperator === 39 /* PlusToken */) { 20173 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|
| D | typescript.js | 16140 var binaryOperator = parent.operatorToken.kind; 16141 return isAssignmentOperator(binaryOperator) && parent.left === node ? 16142 …binaryOperator === 62 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator)… 20271 … function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) { argument 20289 …ar binaryOperatorPrecedence = ts.getOperatorPrecedence(218 /* BinaryExpression */, binaryOperator); 20290 …aryOperatorAssociativity = ts.getOperatorAssociativity(218 /* BinaryExpression */, binaryOperator); 20325 && emittedOperand.operatorToken.kind === binaryOperator) { 20332 if (operatorHasAssociativeProperty(binaryOperator)) { 20341 if (binaryOperator === 39 /* PlusToken */) { 20367 function operatorHasAssociativeProperty(binaryOperator) { argument [all …]
|