MCPcopy Create free account
hub / github.com/STIXProject/python-stix / build

Method build

stix/bindings/ttp.py:1545–1551  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1543 for Exploit_Target_ in self.Exploit_Target:
1544 Exploit_Target_.export(lwrite, level, nsmap, namespace_, name_='Exploit_Target', pretty_print=pretty_print)
1545 def build(self, node):
1546 self.__sourcenode__ = node
1547 already_processed = set()
1548 self.buildAttributes(node, node.attrib, already_processed)
1549 for child in node:
1550 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1551 self.buildChildren(child, node, nodeName_)
1552 def buildAttributes(self, node, attrs, already_processed):
1553 super(ExploitTargetsType, self).buildAttributes(node, attrs, already_processed)
1554 pass

Callers

nothing calls this directly

Calls 2

buildAttributesMethod · 0.95
buildChildrenMethod · 0.95

Tested by

no test coverage detected