| 53 | } |
| 54 | |
| 55 | export class TreeError extends ParseError { |
| 56 | static create(elementName: string | null, span: ParseSourceSpan, msg: string): TreeError { |
| 57 | return new TreeError(elementName, span, msg); |
| 58 | } |
| 59 | |
| 60 | constructor( |
| 61 | public elementName: string | null, |
| 62 | span: ParseSourceSpan, |
| 63 | msg: string, |
| 64 | ) { |
| 65 | super(span, msg); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | export class ParseTreeResult { |
| 70 | constructor( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…