Home
last modified time | relevance | path

Searched refs:NewExpression (Results 1 – 25 of 66) sorted by relevance

123

/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dno-array-constructor.test.ts48 type: AST_NODE_TYPES.NewExpression,
68 type: AST_NODE_TYPES.NewExpression,
88 type: AST_NODE_TYPES.NewExpression,
112 type: AST_NODE_TYPES.NewExpression,
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-array-constructor.ts30 node: TSESTree.CallExpression | TSESTree.NewExpression,
60 NewExpression: check,
Dno-misused-promises.ts74 NewExpression: checkArguments, constant
122 node: TSESTree.CallExpression | TSESTree.NewExpression,
224 node: ts.CallExpression | ts.NewExpression,
Dfunc-call-spacing.ts80 node: TSESTree.CallExpression | TSESTree.NewExpression,
175 NewExpression: checkSpacing,
Dno-implied-eval.ts126 node: TSESTree.NewExpression | TSESTree.CallExpression,
164 NewExpression: checkImpliedEval,
Dno-unnecessary-type-arguments.ts11 | ts.NewExpression
130 node: ts.CallExpression | ts.NewExpression,
Dno-extra-parens.ts66 node: TSESTree.CallExpression | TSESTree.NewExpression,
228 NewExpression: callExp,
Dno-unsafe-call.ts50 NewExpression(node): void {
Dconsistent-type-assertions.ts140 (node.parent.type === AST_NODE_TYPES.NewExpression ||
/third_party/typescript_eslint/packages/eslint-plugin/typings/
Deslint-rules.d.ts127 NewExpression(node: TSESTree.NewExpression): void;
208 NewExpression: RuleFunction<TSESTree.NewExpression>;
531 NewExpression(node: TSESTree.NewExpression): void;
/third_party/typescript/src/compiler/factory/
DparenthesizerRules.ts275 case SyntaxKind.NewExpression:
276 return !(leftmostExpr as NewExpression).arguments
297 …&& (emittedExpression.kind !== SyntaxKind.NewExpression || (<NewExpression>emittedExpression).argu…
/third_party/typescript/src/services/codefixes/
DfixInvalidImportSyntax.ts43 …_is_not_callable.code === context.errorCode ? SyntaxKind.CallExpression : SyntaxKind.NewExpression;
44 …ion(sourceFile, context.span.start), a => a.kind === targetKind) as CallExpression | NewExpression;
DfixAddVoidToPromise.ts69 function getEffectiveTypeArguments(node: NewExpression) {
/third_party/typescript/src/services/
DcallHierarchy.ts336 …function recordCallSite(node: CallExpression | NewExpression | TaggedTemplateExpression | Property…
401 case SyntaxKind.NewExpression:
403 recordCallSite(node as NewExpression);
404 collect((node as NewExpression).expression);
405 forEach((node as NewExpression).arguments, collect);
/third_party/typescript_eslint/packages/eslint-plugin/src/util/
DexplicitReturnTypeUtils.ts109 ): node is TSESTree.NewExpression {
110 return node.type === AST_NODE_TYPES.NewExpression;
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/callExpression/
Dnew-expression-with-array.src.js.shot60 "type": "NewExpression",
170 "type": "NewExpression",
Dnew-expression-with-object.src.js.shot60 "type": "NewExpression",
/third_party/typescript_eslint/packages/visitor-keys/src/
Dvisitor-keys.ts49 NewExpression: ['callee', 'typeParameters', 'arguments'],
/third_party/typescript_eslint/packages/typescript-estree/src/ts-estree/
Destree-to-ts-node-types.ts116 [AST_NODE_TYPES.NewExpression]: ts.NewExpression;
218 | ts.NewExpression
/third_party/typescript_eslint/packages/types/src/
Dast-node-types.ts61 NewExpression = 'NewExpression', enumerator
Dts-estree.ts202 | NewExpression
371 | NewExpression
1133 export interface NewExpression extends BaseNode { interface
1134 type: AST_NODE_TYPES.NewExpression;
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/typescript/errorRecovery/
Dempty-type-arguments-in-new-expression.src.ts.shot41 "type": "NewExpression",
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/basics/
Dnew-with-member-expression.src.js.shot78 "type": "NewExpression",
Dnew-without-parens.src.js.shot98 "type": "NewExpression",
/third_party/typescript/src/services/refactors/
DconvertParamsToDestructuredObject.ts254 …tryToFunctionCall(entry: FindAllReferences.NodeEntry): CallExpression | NewExpression | undefined {
261 case SyntaxKind.NewExpression:
662 functionCalls: (CallExpression | NewExpression)[];

123