MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

tools/tslint-rules/noPrivateGettersRule.ts:20–23  ·  view source on GitHub ↗
(sourceFile: ts.SourceFile, options: Lint.IOptions)

Source from the content-addressed store, hash-verified

18 private _pattern: RegExp | null;
19
20 constructor(sourceFile: ts.SourceFile, options: Lint.IOptions) {
21 super(sourceFile, options);
22 this._pattern = options.ruleArguments.length ? new RegExp(options.ruleArguments[0]) : null;
23 }
24
25 override visitGetAccessor(getter: ts.GetAccessorDeclaration) {
26 const getterName = getter.name.getText();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected