MCPcopy Create free account
hub / github.com/openscopeproject/InteractiveHtmlBom / parse

Method parse

InteractiveHtmlBom/ecad/common.py:25–34  ·  view source on GitHub ↗

Abstract method that should be overridden in implementations. Performs all the parsing and returns a tuple of (pcbdata, components) pcbdata is described in DATAFORMAT.md components is list of Component objects :return:

(self)

Source from the content-addressed store, hash-verified

23 self.logger = logger
24
25 def parse(self):
26 """
27 Abstract method that should be overridden in implementations.
28 Performs all the parsing and returns a tuple of
29 (pcbdata, components)
30 pcbdata is described in DATAFORMAT.md
31 components is list of Component objects
32 :return:
33 """
34 pass
35
36 @staticmethod
37 def normalize_field_names(data):

Callers 4

mainFunction · 0.45
get_extra_field_dataMethod · 0.45
loadSettingsFunction · 0.45
initDefaultsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected