MCPcopy
hub / github.com/vpulim/node-soap / SimpleContentElement

Class SimpleContentElement

src/wsdl/elements.ts:532–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

530}
531
532export class SimpleContentElement extends Element {
533 public readonly allowedChildren = buildAllowedChildren(['extension']);
534 public description(definitions: DefinitionsElement, xmlns: IXmlNs) {
535 for (const child of this.children) {
536 if (child instanceof ExtensionElement) {
537 return child.description(definitions, xmlns);
538 }
539 }
540 return {};
541 }
542}
543
544export class SequenceElement extends Element {
545 public readonly allowedChildren = buildAllowedChildren(['any', 'choice', 'element', 'sequence']);

Callers

nothing calls this directly

Calls 1

buildAllowedChildrenFunction · 0.85

Tested by

no test coverage detected