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

Class TreeError

packages/compiler/src/ml_parser/parser.ts:51–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51export class TreeError extends ParseError {
52 static create(elementName: string | null, span: ParseSourceSpan, msg: string): TreeError {
53 return new TreeError(elementName, span, msg);
54 }
55
56 constructor(
57 public elementName: string | null,
58 span: ParseSourceSpan,
59 msg: string,
60 ) {
61 super(span, msg);
62 }
63}
64
65export class ParseTreeResult {
66 constructor(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected