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

Method build

stix/bindings/report.py:277–283  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

275 if self.Kill_Chains is not None:
276 self.Kill_Chains.export(lwrite, level, nsmap, namespace_, name_='Kill_Chains', pretty_print=pretty_print)
277 def build(self, node):
278 self.__sourcenode__ = node
279 already_processed = set()
280 self.buildAttributes(node, node.attrib, already_processed)
281 for child in node:
282 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
283 self.buildChildren(child, node, nodeName_)
284 def buildAttributes(self, node, attrs, already_processed):
285 pass
286 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):

Callers 10

buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
buildChildrenMethod · 0.45
parseStringFunction · 0.45

Calls 2

buildAttributesMethod · 0.95
buildChildrenMethod · 0.95

Tested by

no test coverage detected