| 68 | * `keySpan` may also not be present for synthetic attributes from ICU expansions. |
| 69 | */ |
| 70 | export class TextAttribute implements Node { |
| 71 | constructor( |
| 72 | public name: string, |
| 73 | public value: string, |
| 74 | public sourceSpan: ParseSourceSpan, |
| 75 | readonly keySpan: ParseSourceSpan | undefined, |
| 76 | public valueSpan?: ParseSourceSpan, |
| 77 | public i18n?: I18nMeta, |
| 78 | ) {} |
| 79 | visit<Result>(visitor: Visitor<Result>): Result { |
| 80 | return visitor.visitTextAttribute(this); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | export class BoundAttribute implements Node { |
| 85 | constructor( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…