Horizon
|
Public Member Functions | |
__init__ (self, key, pyparser=None, **kwds) | |
initial (self, text, comment) | |
parse (self, node, text, comment) | |
fin (self, node) | |
![]() | |
labeled_merge (self, orig, new) | |
![]() | |
can_parse (self, text) | |
![]() | |
add (self, obj) | |
__iadd__ (self, obj) | |
get_globals (self) | |
find_parser (self, text) | |
pyparse (self, text) | |
pop (self, new, name) | |
flatten (self, new) | |
merge (self, orig, new) | |
Additional Inherited Members | |
![]() | |
needs_text | |
merge | |
key | |
![]() | |
key | |
flat_key | |
data_name | |
default | |
initvalue | |
pyparser | |
list_merge | |
asList | |
asDict | |
children | |
parent | |
globals | |
required | |
Text from entire section is collected and parsed with pyparser.
pybis.TokenizeSection.__init__ | ( | self, | |
key, | |||
pyparser = None , |
|||
** | labeled | ||
) |
If a Section is labeled, the data is an OrderedDict of objects indexed by sectionText.
Reimplemented from pybis.Section.
Reimplemented in pybis.Node_Declarations, pybis.Pin_Numbers, and pybis.Path_Description.
pybis.TokenizeSection.fin | ( | self, | |
node | |||
) |
Add a node to the parent.
Reimplemented from pybis.Parse.
Reimplemented in pybis.Pin_Numbers, and pybis.Path_Description.
pybis.TokenizeSection.initial | ( | self, | |
text, | |||
comment | |||
) |
Parse the first line of text and return a Node object.
Reimplemented from pybis.Section.
pybis.TokenizeSection.parse | ( | self, | |
node, | |||
text, | |||
comment | |||
) |
Parse a subsequent line of text, False means we can't.
Reimplemented from pybis.Parse.