| 158 | } |
| 159 | |
| 160 | export class Element implements Node { |
| 161 | constructor( |
| 162 | public name: string, |
| 163 | public attributes: TextAttribute[], |
| 164 | public inputs: BoundAttribute[], |
| 165 | public outputs: BoundEvent[], |
| 166 | public directives: Directive[], |
| 167 | public children: Node[], |
| 168 | public references: Reference[], |
| 169 | public isSelfClosing: boolean, |
| 170 | public sourceSpan: ParseSourceSpan, |
| 171 | public startSourceSpan: ParseSourceSpan, |
| 172 | public endSourceSpan: ParseSourceSpan | null, |
| 173 | readonly isVoid: boolean, |
| 174 | public i18n?: I18nMeta, |
| 175 | ) {} |
| 176 | visit<Result>(visitor: Visitor<Result>): Result { |
| 177 | return visitor.visitElement(this); |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | export abstract class DeferredTrigger implements Node { |
| 182 | constructor( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…