Horizon
|
Public Member Functions | |
__init__ (self, key, pyparser=None, labeled=False, **kwds) | |
initial (self, text, comment) | |
labeled_merge (self, orig, new) | |
![]() | |
can_parse (self, text) | |
![]() | |
add (self, obj) | |
__iadd__ (self, obj) | |
get_globals (self) | |
find_parser (self, text) | |
parse (self, node, text, comment) | |
pyparse (self, text) | |
fin (self, node) | |
pop (self, new, name) | |
flatten (self, new) | |
merge (self, orig, new) | |
Public Attributes | |
needs_text | |
merge | |
key | |
![]() | |
key | |
flat_key | |
data_name | |
default | |
initvalue | |
pyparser | |
list_merge | |
asList | |
asDict | |
children | |
parent | |
globals | |
required | |
Multi-line token, such as '[Model]'
pybis.Section.__init__ | ( | self, | |
key, | |||
pyparser = None , |
|||
labeled = False , |
|||
** | kwds | ||
) |
If a Section is labeled, the data is an OrderedDict of objects indexed by sectionText.
Reimplemented from pybis.Parse.
Reimplemented in pybis.Series_Pin_Mapping, pybis.Series_MOSFET, pybis.Component, pybis.Model, pybis.Test_Data, pybis.Test_Load, pybis.Submodel, pybis.External_Circuit, pybis.External_Model, pybis.Node_Declarations, pybis.Circuit_Call, pybis.Algorithmic_Model, pybis.Pin_Numbers, pybis.Package_Model, pybis.Path_Description, pybis.Board_Description, pybis.EMI_Component, pybis.Pin_EMI, pybis.Pin_Domain_EMI, pybis.EMI_Model, pybis.BaseModel, pybis.External_Common, pybis.RangeSection, pybis.TokenizeSection, pybis.ListSection, pybis.DictSection, pybis.TableSection, and pybis.MatrixSection.
pybis.Section.initial | ( | self, | |
text, | |||
comment | |||
) |
Parse the first line of text and return a Node object.
Reimplemented from pybis.Bracket.
Reimplemented in pybis.TokenizeSection, pybis.TableSection, and pybis.RangeSection.