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

Class AllElement

src/wsdl/elements.ts:575–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575export 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
592export class MessageElement extends Element {
593 public readonly allowedChildren = buildAllowedChildren(['part', 'documentation']);

Callers

nothing calls this directly

Calls 1

buildAllowedChildrenFunction · 0.85

Tested by

no test coverage detected