(definitions: DefinitionsElement, xmlns: IXmlNs)
| 520 | public readonly allowedChildren = buildAllowedChildren(['extension', 'restriction']); |
| 521 | |
| 522 | public description(definitions: DefinitionsElement, xmlns: IXmlNs) { |
| 523 | for (const child of this.children) { |
| 524 | if (child instanceof ExtensionElement || child instanceof RestrictionElement) { |
| 525 | return child.description(definitions, xmlns); |
| 526 | } |
| 527 | } |
| 528 | return {}; |
| 529 | } |
| 530 | } |
| 531 | |
| 532 | export class SimpleContentElement extends Element { |
nothing calls this directly
no test coverage detected