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

Method build

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

Source from the content-addressed store, hash-verified

1151 self.Targeted_Technical_Details.export(lwrite, level, "%s:" % (nsmap[namespace_]), name_='Targeted_Technical_Details', pretty_print=pretty_print)
1152
1153 def build(self, node):
1154 self.__sourcenode__ = node
1155 already_processed = set()
1156 self.buildAttributes(node, node.attrib, already_processed)
1157 for child in node:
1158 nodeName_ = Tag_pattern_.match(child.tag).groups()[-1]
1159 self.buildChildren(child, node, nodeName_)
1160 def buildAttributes(self, node, attrs, already_processed):
1161 pass
1162 def buildChildren(self, child_, node, nodeName_, fromsubclass_=False):

Callers

nothing calls this directly

Calls 2

buildAttributesMethod · 0.95
buildChildrenMethod · 0.95

Tested by

no test coverage detected