Horizon
|
Public Member Functions | |
__init__ (self, key, pyparser=None, headers=[], optional=[], **kwds) | |
initial (self, text, comment) | |
assign_row (self, node, key, row) | |
parse (self, node, text, comment) | |
add (self, obj) | |
![]() | |
labeled_merge (self, orig, new) | |
![]() | |
can_parse (self, text) | |
![]() | |
__iadd__ (self, obj) | |
get_globals (self) | |
find_parser (self, text) | |
pyparse (self, text) | |
fin (self, node) | |
pop (self, new, name) | |
flatten (self, new) | |
merge (self, orig, new) | |
Public Attributes | |
needs_text | |
parsers | |
headers | |
optional | |
key | |
![]() | |
needs_text | |
merge | |
key | |
![]() | |
key | |
flat_key | |
data_name | |
default | |
initvalue | |
pyparser | |
list_merge | |
asList | |
asDict | |
children | |
parent | |
globals | |
required | |
[<section name>] <col1 name> <col2 name> <...> <row name> <col1 data> <col2 data> <...>
pybis.TableSection.__init__ | ( | self, | |
key, | |||
pyparser = None , |
|||
labeled = [] , |
|||
kwds = [] , |
|||
** | kwds | ||
) |
If a Section is labeled, the data is an OrderedDict of objects indexed by sectionText.
Reimplemented from pybis.Section.
Reimplemented in pybis.Series_Pin_Mapping, pybis.Pin_EMI, and pybis.Pin_Domain_EMI.
pybis.TableSection.add | ( | self, | |
obj | |||
) |
Reimplemented from pybis.Parse.
pybis.TableSection.assign_row | ( | self, | |
node, | |||
key, | |||
row | |||
) |
For Seires_Pin_Mapping to override.
Reimplemented in pybis.Series_Pin_Mapping.
pybis.TableSection.initial | ( | self, | |
text, | |||
comment | |||
) |
Parse the first line of text and return a Node object.
Reimplemented from pybis.Section.
pybis.TableSection.parse | ( | self, | |
node, | |||
text, | |||
comment | |||
) |
Parse a subsequent line of text, False means we can't.
Reimplemented from pybis.Parse.