Home
last modified time | relevance | path

Searched refs:MethodDefinition (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-useless-constructor.ts14 function checkAccessibility(node: TSESTree.MethodDefinition): boolean {
37 function checkParams(node: TSESTree.MethodDefinition): boolean {
65 MethodDefinition(node): void {
73 rules.MethodDefinition(node);
Dunified-signatures.ts37 type OverloadNode = MethodDefinition | SignatureDefinition;
50 type MethodDefinition = alias
51 | TSESTree.MethodDefinition
149 (overloads[0] as MethodDefinition).value || overloads[0];
151 (overloads[1] as MethodDefinition).value || overloads[1];
163 const signature0 = (a as MethodDefinition).value || a;
164 const signature1 = (b as MethodDefinition).value || b;
545 MethodDefinition(node): void {
578 ((node as MethodDefinition).computed ? '0' : '1') +
579 ((node as MethodDefinition).static ? '0' : '1') +
[all …]
Dprefer-readonly.ts22 AST_NODE_TYPES.MethodDefinition,
140 ): node is TSESTree.MethodDefinition {
142 node.type === AST_NODE_TYPES.MethodDefinition &&
152 | TSESTree.MethodDefinition,
233 | TSESTree.MethodDefinition,
248 | TSESTree.MethodDefinition,
Dno-dupe-class-members.ts27 MethodDefinition(node): void {
36 return rules.MethodDefinition(node);
Dexplicit-member-accessibility.ts115 methodDefinition: TSESTree.MethodDefinition,
165 | TSESTree.MethodDefinition
279 MethodDefinition: checkMethodAccessibilityModifier,
Dpromise-function-async.ts98 | TSESTree.MethodDefinition
123 node.parent.type === AST_NODE_TYPES.MethodDefinition) &&
Dno-empty-function.ts104 parent?.type === AST_NODE_TYPES.MethodDefinition &&
132 node.parent?.type === AST_NODE_TYPES.MethodDefinition
Dexplicit-module-boundary-types.ts233 node.type === AST_NODE_TYPES.MethodDefinition ||
351 case AST_NODE_TYPES.MethodDefinition:
433 node.parent?.type === AST_NODE_TYPES.MethodDefinition &&
437 node.parent?.type === AST_NODE_TYPES.MethodDefinition) &&
Dclass-literal-property-style.ts61 MethodDefinition(node: TSESTree.MethodDefinition): void {
Dno-extra-semi.ts28 rules.MethodDefinition(node as never);
Dlines-between-class-members.ts54 node.type === AST_NODE_TYPES.MethodDefinition &&
Dmember-ordering.ts176 case AST_NODE_TYPES.MethodDefinition:
213 case AST_NODE_TYPES.MethodDefinition:
/third_party/typescript_eslint/packages/experimental-utils/src/ast-utils/
Dpredicates.ts153 AST_NODE_TYPES.MethodDefinition,
172 ): node is TSESTree.MethodDefinition {
174 node?.type === AST_NODE_TYPES.MethodDefinition &&
184 ): node is TSESTree.MethodDefinition | TSESTree.Property {
187 (node.type === AST_NODE_TYPES.MethodDefinition ||
/third_party/typescript_eslint/packages/eslint-plugin/typings/
Deslint-rules.d.ts216 MethodDefinition: RuleFunction<TSESTree.MethodDefinition>;
233 MethodDefinition(node: TSESTree.MethodDefinition): void;
491 MethodDefinition(node: TSESTree.MethodDefinition): void;
636 MethodDefinition(node: TSESTree.MethodDefinition): void;
/third_party/flatbuffers/tests/
Dmonster_test_grpc.d.ts14 interface IMonsterStorageService_IStore extends grpc.MethodDefinition<MyGame_Example_Monster, MyGam…
24 interface IMonsterStorageService_IRetrieve extends grpc.MethodDefinition<MyGame_Example_Stat, MyGam…
34 interface IMonsterStorageService_IGetMaxHitPoint extends grpc.MethodDefinition<MyGame_Example_Monst…
44 interface IMonsterStorageService_IGetMinMaxHitPoints extends grpc.MethodDefinition<MyGame_Example_M…
/third_party/flatbuffers/grpc/examples/ts/greeter/src/
Dgreeter_grpc.d.ts12 interface IGreeterService_ISayHello extends grpc.MethodDefinition<models_HelloRequest, models_Hello…
22 interface IGreeterService_ISayManyHellos extends grpc.MethodDefinition<models_HelloRequest, models_…
/third_party/typescript_eslint/packages/eslint-plugin/src/util/
DexplicitReturnTypeUtils.ts42 (parent.type === AST_NODE_TYPES.MethodDefinition ||
277 parent.type !== AST_NODE_TYPES.MethodDefinition &&
/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/
Dno-useless-constructor.test.ts15 type: AST_NODE_TYPES.MethodDefinition,
/third_party/typescript_eslint/packages/scope-manager/src/referencer/
DReferencer.ts339 | TSESTree.MethodDefinition
350 const isMethodDefinition = node.type === AST_NODE_TYPES.MethodDefinition;
613 protected MethodDefinition(node: TSESTree.MethodDefinition): void { method in Referencer
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/typescript/basics/
Dclass-with-optional-methods.src.ts.shot46 "type": "MethodDefinition",
108 "type": "MethodDefinition",
205 "type": "MethodDefinition",
Dclass-with-optional-computed-method.src.ts.shot384 "type": "MethodDefinition",
446 "type": "MethodDefinition",
526 "type": "MethodDefinition",
589 "type": "MethodDefinition",
669 "type": "MethodDefinition",
732 "type": "MethodDefinition",
848 "type": "MethodDefinition",
964 "type": "MethodDefinition",
1045 "type": "MethodDefinition",
Dclass-with-method.src.ts.shot45 "type": "MethodDefinition",
157 "type": "MethodDefinition",
291 "type": "MethodDefinition",
/third_party/typescript_eslint/packages/experimental-utils/src/ast-utils/eslint-utils/
DastUtilities.ts41 | TSESTree.MethodDefinition,
/third_party/typescript_eslint/packages/types/src/
Dts-estree.ts201 | MethodDefinition
318 | MethodDefinition
418 export type MethodDefinition = alias
432 | MethodDefinition
1125 type: AST_NODE_TYPES.MethodDefinition;
1130 type: AST_NODE_TYPES.MethodDefinition;
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/classes/
Dclass-static-methods-and-accessor-properties.src.js.shot45 "type": "MethodDefinition",
123 "type": "MethodDefinition",
201 "type": "MethodDefinition",

12345