| 49 | } |
| 50 | |
| 51 | export 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 | |
| 65 | export class ParseTreeResult { |
| 66 | constructor( |
nothing calls this directly
no outgoing calls
no test coverage detected