Home
last modified time | relevance | path

Searched refs:binaryOperator (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/src/compiler/factory/
DparenthesizerRules.ts38 …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/
Dutilities.ts2968 const binaryOperator = (<BinaryExpression>parent).operatorToken.kind; constant
2969 … return isAssignmentOperator(binaryOperator) && (<BinaryExpression>parent).left === node ?
2970binaryOperator === SyntaxKind.EqualsToken || isLogicalOrCoalescingAssignmentOperator(binaryOperato…
Dtypes.ts6831 parenthesizeLeftSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression): Expression;
6832 …parenthesizeRightSideOfBinary(binaryOperator: SyntaxKind, leftSide: Expression | undefined, rightS…
/third_party/typescript/lib/
Dtsc.js12402 var binaryOperator = parent.operatorToken.kind;
12403 return isAssignmentOperator(binaryOperator) && parent.left === node ?
12404binaryOperator === 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 …]
DtypingsInstaller.js15935 var binaryOperator = parent.operatorToken.kind;
15936 return isAssignmentOperator(binaryOperator) && parent.left === node ?
15937binaryOperator === 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 …]
DtypescriptServices.js16140 var binaryOperator = parent.operatorToken.kind;
16141 return isAssignmentOperator(binaryOperator) && parent.left === node ?
16142binaryOperator === 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 …]
Dtsserverlibrary.js16140 var binaryOperator = parent.operatorToken.kind;
16141 return isAssignmentOperator(binaryOperator) && parent.left === node ?
16142binaryOperator === 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 …]
Dtsserver.js15946 var binaryOperator = parent.operatorToken.kind;
15947 return isAssignmentOperator(binaryOperator) && parent.left === node ?
15948binaryOperator === 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 …]
Dtypescript.js16140 var binaryOperator = parent.operatorToken.kind;
16141 return isAssignmentOperator(binaryOperator) && parent.left === node ?
16142binaryOperator === 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 …]