|
Horizon
|
Public Member Functions | |
| __init__ (self, key, comments=True, **kwds) | |
| initial (self, text, comment) | |
| parse (self, node, text, comment) | |
| merge (self, orig, new) | |
| flatten (self, node) | |
| Public Member Functions inherited from pybis.Bracket | |
| can_parse (self, text) | |
| Public Member Functions inherited from pybis.Parse | |
| __init__ (self, key, pyparser=None, default=None, initvalue=None, data_name=None, list_merge=False, asList=False, asDict=False, required=False) | |
| add (self, obj) | |
| __iadd__ (self, obj) | |
| get_globals (self) | |
| find_parser (self, text) | |
| pyparse (self, text) | |
| fin (self, node) | |
| pop (self, new, name) | |
Public Attributes | |
| comments = comments | |
| Public Attributes inherited from pybis.Parse | |
| key = key | |
| flat_key = key.replace(' ', '_').lower() | |
| data_name = data_name | |
| default = default | |
| initvalue = initvalue | |
| pyparser = pyparser | |
| list_merge = list_merge | |
| asList = asList | |
| asDict = asDict | |
| children = OrderedDict() | |
| parent = None | |
| globals = None | |
| required = required | |
IBIS text section, such as '[Copyright]' Since some IBIS files include important copyright data in comments below the keyword, we capture all text, including comments.
| pybis.Text.flatten | ( | self, | |
| new ) |
Reformat pyparse results as what we'd expect.
Reimplemented from pybis.Parse.
| pybis.Text.initial | ( | self, | |
| text, | |||
| comment ) |
Parse the first line of text and return a Node object.
Reimplemented from pybis.Bracket.
| pybis.Text.merge | ( | self, | |
| orig, | |||
| new ) |
Just merge together subsequent entries.
Reimplemented from pybis.Parse.
| pybis.Text.parse | ( | self, | |
| node, | |||
| text, | |||
| comment ) |
Parse a subsequent line of text, False means we can't.
Reimplemented from pybis.Parse.