| 31 | * is true. |
| 32 | */ |
| 33 | export class Comment implements Node { |
| 34 | constructor( |
| 35 | public value: string, |
| 36 | public sourceSpan: ParseSourceSpan, |
| 37 | ) {} |
| 38 | visit<Result>(_visitor: Visitor<Result>): Result { |
| 39 | throw new Error('visit() not implemented for Comment'); |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | export class Text implements Node { |
| 44 | constructor( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…