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

Method postProcess

src/wsdl/elements.ts:931–947  ·  view source on GitHub ↗
(definitions: DefinitionsElement)

Source from the content-addressed store, hash-verified

929 } = {};
930
931 public postProcess(definitions: DefinitionsElement) {
932 const children = this.children;
933 if (typeof children === 'undefined') {
934 return;
935 }
936 for (let i = 0; i < children.length; i++) {
937 const child = children[i] as any;
938 if (child.name !== 'operation') {
939 continue;
940 }
941 child.postProcess(definitions, 'portType');
942 this.methods[child.$name] = child;
943 children.splice(i--, 1);
944 }
945 delete this.$name;
946 this.deleteFixedAttrs();
947 }
948
949 public description(definitions: DefinitionsElement) {
950 const methods = {};

Callers

nothing calls this directly

Calls 2

deleteFixedAttrsMethod · 0.80
postProcessMethod · 0.65

Tested by

no test coverage detected