Horizon
Loading...
Searching...
No Matches
pybis.Bracket Class Reference
Inheritance diagram for pybis.Bracket:
pybis.Parse pybis.Comment pybis.End pybis.Keyword pybis.Section pybis.Text pybis.Algorithmic_Model pybis.BaseModel pybis.Board_Description pybis.Circuit_Call pybis.Component pybis.DictSection pybis.EMI_Component pybis.EMI_Model pybis.External_Common pybis.ListSection pybis.MatrixSection pybis.Package_Model pybis.RangeSection pybis.TableSection pybis.Test_Data pybis.Test_Load pybis.TokenizeSection

Public Member Functions

 can_parse (self, text)
 initial (self, text, comment)
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)
 parse (self, node, text, comment)
 pyparse (self, text)
 fin (self, node)
 pop (self, new, name)
 flatten (self, new)
 merge (self, orig, new)

Additional Inherited Members

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

Detailed Description

An item that starts with '[<name>] ...'

Member Function Documentation

◆ can_parse()

pybis.Bracket.can_parse ( self,
text )
True if we can parse 'text'.

Reimplemented from pybis.Parse.

◆ initial()

pybis.Bracket.initial ( self,
text,
comment )
Parse the first line of text and return a Node object.

Reimplemented from pybis.Parse.

Reimplemented in pybis.Comment, pybis.End, pybis.Keyword, pybis.RangeSection, pybis.Section, pybis.TableSection, pybis.Text, and pybis.TokenizeSection.


The documentation for this class was generated from the following file: