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

Method constructor

tools/tslint-rules/symbolNamingRule.ts:9–12  ·  view source on GitHub ↗
(options: Lint.IOptions)

Source from the content-addressed store, hash-verified

7 private _pattern: RegExp;
8
9 constructor(options: Lint.IOptions) {
10 super(options);
11 this._pattern = new RegExp(options.ruleArguments[0] || '.*');
12 }
13
14 apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
15 return this.applyWithFunction(sourceFile, checkSourceFile, this._pattern);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected