| 573 | } |
| 574 | |
| 575 | export class AllElement extends Element { |
| 576 | public readonly allowedChildren = buildAllowedChildren(['choice', 'element']); |
| 577 | public description(definitions: DefinitionsElement, xmlns: IXmlNs) { |
| 578 | const sequence = {}; |
| 579 | for (const child of this.children) { |
| 580 | if (child instanceof AnyElement) { |
| 581 | continue; |
| 582 | } |
| 583 | const description = child.description(definitions, xmlns); |
| 584 | for (const key in description) { |
| 585 | sequence[key] = description[key]; |
| 586 | } |
| 587 | } |
| 588 | return sequence; |
| 589 | } |
| 590 | } |
| 591 | |
| 592 | export class MessageElement extends Element { |
| 593 | public readonly allowedChildren = buildAllowedChildren(['part', 'documentation']); |
nothing calls this directly
no test coverage detected