Home
last modified time | relevance | path

Searched refs:operatorToken (Results 1 – 25 of 52) sorted by relevance

123

/third_party/typescript/src/services/codefixes/
DwrapJsxInFragment.ts33 if (!nodeIsMissing(binaryExpr.operatorToken)) return undefined;
49 …if (isBinaryExpression(current) && nodeIsMissing(current.operatorToken) && current.operatorToken.k…
DaddMissingConst.ts33 …if (isBinaryExpression(parent) && parent.operatorToken.kind === SyntaxKind.EqualsToken && isExpres…
103 if (expression.operatorToken.kind === SyntaxKind.CommaToken) {
107 return expression.operatorToken.kind === SyntaxKind.EqualsToken
DfixNaNEquality.ts55 const operator = expression.operatorToken.kind ;
DconvertToEsModule.ts106 …ifier }, isBinaryExpression(parent) && parent.left === node && parent.operatorToken.kind === Synta…
141 const { operatorToken } = expression as BinaryExpression; constant
142 …return operatorToken.kind === SyntaxKind.EqualsToken && convertAssignment(sourceFile, checker, exp…
DaddOptionalPropertyUndefined.ts54 …else if (isBinaryExpression(errorNode.parent) && errorNode.parent.operatorToken.kind === SyntaxKin…
DfixSpelling.ts61 …else if (isBinaryExpression(parent) && parent.operatorToken.kind === SyntaxKind.InKeyword && paren…
/third_party/vk-gl-cts/framework/randomshaders/
DrsgBinaryOps.hpp44 BinaryOp (Token::Type operatorToken);
72 …BinaryVecOp (GeneratorState& state, Token::Type operatorToken, ConstValueRangeAccess valueRange);
151 …RelationalOp (GeneratorState& state, Token::Type operatorToken, ConstValueRangeAccess valueRange);
DrsgBinaryOps.cpp197 BinaryOp<Precedence, Assoc>::BinaryOp (Token::Type operatorToken) in BinaryOp() argument
198 : m_operator (operatorToken) in BinaryOp()
364 …Range, EvaluateComp>::BinaryVecOp (GeneratorState& state, Token::Type operatorToken, ConstValueRan… in BinaryVecOp() argument
365 : BinaryOp<Precedence, ASSOCIATIVITY_LEFT>(operatorToken) in BinaryVecOp()
647 …ange, EvaluateComp>::RelationalOp (GeneratorState& state, Token::Type operatorToken, ConstValueRan… in RelationalOp() argument
648 : BinaryOp<7, ASSOCIATIVITY_LEFT>(operatorToken) in RelationalOp()
/third_party/typescript/src/services/refactors/
DconvertStringOrTemplateLiteral.ts87 return node.operatorToken.kind !== SyntaxKind.EqualsToken;
119 const currentOperatorValid = current.operatorToken.kind === SyntaxKind.PlusToken;
123 operators.push(current.operatorToken);
DconvertToOptionalChainExpression.ts120 if (expression.operatorToken.kind !== SyntaxKind.AmpersandAmpersandToken) {
137 …while (isBinaryExpression(expression) && expression.operatorToken.kind === SyntaxKind.AmpersandAmp…
/third_party/typescript/src/compiler/
Dbinder.ts897 …|| isBinaryExpression(expr) && expr.operatorToken.kind === SyntaxKind.CommaToken && isNarrowableRe…
926 switch (expr.operatorToken.kind) {
953 switch ((expr as BinaryExpression).operatorToken.kind) {
1060 … (node as BinaryExpression).operatorToken.kind === SyntaxKind.AmpersandAmpersandToken ||
1061 (node as BinaryExpression).operatorToken.kind === SyntaxKind.BarBarToken ||
1062 … (node as BinaryExpression).operatorToken.kind === SyntaxKind.QuestionQuestionToken);
1069 …eturn isBinaryExpression(node) && isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind);
1403 …de.kind === SyntaxKind.BinaryExpression && (node as BinaryExpression).operatorToken.kind === Synta…
1442 …if (node.operatorToken.kind === SyntaxKind.AmpersandAmpersandToken || node.operatorToken.kind === …
1449 bind(node.operatorToken);
[all …]
Dutilities.ts1920 && node.parent.parent.operatorToken.kind === SyntaxKind.EqualsToken
2096 …ryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === Synta…
2341 …(node.initializer.operatorToken.kind === SyntaxKind.BarBarToken || node.initializer.operatorToken.…
2368 …if (node && node.parent && isBinaryExpression(node.parent) && node.parent.operatorToken.kind === S…
2416 …&& (initializer.operatorToken.kind === SyntaxKind.BarBarToken || initializer.operatorToken.kind ==…
2425 …isBinaryExpression(node.parent) && node.parent.operatorToken.kind === SyntaxKind.EqualsToken ? nod…
2433 …const parent = ((node.parent.operatorToken.kind === SyntaxKind.BarBarToken || node.parent.operator…
2434 if (parent.operatorToken.kind === SyntaxKind.EqualsToken && isIdentifier(parent.left)) {
2558 …if (expr.operatorToken.kind !== SyntaxKind.EqualsToken || !isAccessExpression(expr.left) || isVoid…
2792 node.expression.operatorToken.kind === SyntaxKind.EqualsToken
[all …]
/third_party/typescript/tests/baselines/reference/
DAPISample_linter.js49 let op = (<ts.BinaryExpression>node).operatorToken.kind;
109 var op = node.operatorToken.kind;
/third_party/typescript/src/linter/ArkTSLinter_1_0/
DTypeScriptLinter.ts961 if (Utils.isAssignmentOperator(tsBinaryExpr.operatorToken)) {
983 if (tsBinaryExpr.operatorToken.kind === SyntaxKind.PlusToken) {
1000 tsBinaryExpr.operatorToken.kind === SyntaxKind.AmpersandToken ||
1001 tsBinaryExpr.operatorToken.kind === SyntaxKind.BarToken ||
1002 tsBinaryExpr.operatorToken.kind === SyntaxKind.CaretToken ||
1003 tsBinaryExpr.operatorToken.kind === SyntaxKind.LessThanLessThanToken ||
1004 tsBinaryExpr.operatorToken.kind === SyntaxKind.GreaterThanGreaterThanToken ||
1005 tsBinaryExpr.operatorToken.kind === SyntaxKind.GreaterThanGreaterThanGreaterThanToken
1014 else if (tsBinaryExpr.operatorToken.kind === SyntaxKind.CommaToken) {
1029 else if (tsBinaryExpr.operatorToken.kind === SyntaxKind.InstanceOfKeyword) {
[all …]
/third_party/typescript/src/linter/ArkTSLinter_1_1/
DTypeScriptLinter.ts1054 if (Utils.isAssignmentOperator(tsBinaryExpr.operatorToken)) {
1076 if (tsBinaryExpr.operatorToken.kind === SyntaxKind.PlusToken) {
1093 tsBinaryExpr.operatorToken.kind === SyntaxKind.AmpersandToken ||
1094 tsBinaryExpr.operatorToken.kind === SyntaxKind.BarToken ||
1095 tsBinaryExpr.operatorToken.kind === SyntaxKind.CaretToken ||
1096 tsBinaryExpr.operatorToken.kind === SyntaxKind.LessThanLessThanToken ||
1097 tsBinaryExpr.operatorToken.kind === SyntaxKind.GreaterThanGreaterThanToken ||
1098 tsBinaryExpr.operatorToken.kind === SyntaxKind.GreaterThanGreaterThanGreaterThanToken
1107 else if (tsBinaryExpr.operatorToken.kind === SyntaxKind.CommaToken) {
1122 else if (tsBinaryExpr.operatorToken.kind === SyntaxKind.InstanceOfKeyword) {
[all …]
/third_party/typescript/src/services/
Dbreakpoints.ts284 const { left, operatorToken } = node as BinaryExpression; constant
294 …if (operatorToken.kind === SyntaxKind.EqualsToken && isArrayLiteralOrObjectLiteralDestructuringPat…
302 if (operatorToken.kind === SyntaxKind.CommaToken) {
322 … if ((node.parent as BinaryExpression).operatorToken.kind === SyntaxKind.CommaToken) {
/third_party/typescript/src/compiler/factory/
Dutilities.ts414 …export function isCommaSequence(node: Expression): node is BinaryExpression & {operatorToken: Toke…
415 …de.kind === SyntaxKind.BinaryExpression && (node as BinaryExpression).operatorToken.kind === Synta…
1070 …machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stac…
1167 …readonly onOperator: ((operatorToken: BinaryOperatorToken, userState: TState, node: BinaryExpressi…
1187 …onOperator: ((operatorToken: BinaryOperatorToken, userState: TState, node: BinaryExpression) => vo…
1204 …onOperator: ((operatorToken: BinaryOperatorToken, userState: TState, node: BinaryExpression) => vo…
1212 …onOperator: ((operatorToken: BinaryOperatorToken, userState: TState, node: BinaryExpression) => vo…
DparenthesizerRules.ts129 && emittedOperand.operatorToken.kind === binaryOperator) {
204 …de.kind === SyntaxKind.BinaryExpression && (node as BinaryExpression).operatorToken.kind === Synta…
/third_party/typescript/tests/cases/compiler/
DAPISample_linter.ts52 let op = (<ts.BinaryExpression>node).operatorToken.kind;
/third_party/typescript/src/compiler/transformers/
Des2021.ts35 const operator = binaryExpression.operatorToken;
Des2016.ts32 switch (node.operatorToken.kind) {
Dgenerators.ts724 const operator = node.operatorToken.kind;
742 …return factory.updateBinaryExpression(node, target, node.operatorToken, visitNode(right, visitor, …
751 if (isLogicalOperator(node.operatorToken.kind)) {
754 else if (node.operatorToken.kind === SyntaxKind.CommaToken) {
769 node.operatorToken,
797 if (isBinaryExpression(node) && node.operatorToken.kind === SyntaxKind.CommaToken) {
821 if (isBinaryExpression(elem) && elem.operatorToken.kind === SyntaxKind.CommaToken) {
874 if (node.operatorToken.kind === SyntaxKind.AmpersandAmpersandToken) {
DtypeSerializer.ts413 && left.operatorToken.kind === right.operatorToken.kind
DclassFields.ts380 && node.operatorToken.kind === SyntaxKind.InKeyword;
954 node.operatorToken,
971 …createPrivateIdentifierAssignment(info, node.left.expression, node.right, node.operatorToken.kind),
991 node.operatorToken,
1006 if (isCompoundAssignment(node.operatorToken.kind)) {
1022 … getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind),
2392 node.operatorToken,
Des2020.ts38 … if ((node as BinaryExpression).operatorToken.kind === SyntaxKind.QuestionQuestionToken) {

123