MCPcopy Create free account
hub / github.com/angular/angular / _addError

Method _addError

packages/compiler/src/i18n/serializers/xliff.ts:312–314  ·  view source on GitHub ↗
(node: ml.Node, message: string)

Source from the content-addressed store, hash-verified

310 visitDirective(directive: ml.Directive, context: any) {}
311
312 private _addError(node: ml.Node, message: string): void {
313 this._errors.push(new ParseError(node.sourceSpan, message));
314 }
315}
316
317// Convert ml nodes (xliff syntax) to i18n nodes

Callers 1

visitElementMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected