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

Method applyWithProgram

tools/tslint-rules/lightweightTokensRule.ts:29–36  ·  view source on GitHub ↗
(sourceFile: ts.SourceFile, program: ts.Program)

Source from the content-addressed store, hash-verified

27 */
28export class Rule extends Lint.Rules.TypedRule {
29 applyWithProgram(sourceFile: ts.SourceFile, program: ts.Program): Lint.RuleFailure[] {
30 return this.applyWithFunction(
31 sourceFile,
32 checkSourceFileForLightweightTokens,
33 this.getOptions().ruleArguments as RuleArguments,
34 program.getTypeChecker(),
35 );
36 }
37}
38
39/**

Callers

nothing calls this directly

Calls 1

getOptionsMethod · 0.45

Tested by

no test coverage detected