Horizon
Public Member Functions | Public Attributes | List of all members
pybis.Section Class Reference
Inheritance diagram for pybis.Section:
pybis.Bracket pybis.Parse 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

def __init__ (self, key, pyparser=None, labeled=False, **kwds)
 
def initial (self, text, comment)
 
def labeled_merge (self, orig, new)
 
def __init__ (self, key, pyparser=None, labeled=False, **kwds)
 
def initial (self, text, comment)
 
def labeled_merge (self, orig, new)
 
- Public Member Functions inherited from pybis.Bracket
def can_parse (self, text)
 
def can_parse (self, text)
 
- Public Member Functions inherited from pybis.Parse
def __init__ (self, key, pyparser=None, default=None, initvalue=None, data_name=None, list_merge=False, asList=False, asDict=False, required=False)
 
def add (self, obj)
 
def __iadd__ (self, obj)
 
def get_globals (self)
 
def find_parser (self, text)
 
def parse (self, node, text, comment)
 
def pyparse (self, text)
 
def fin (self, node)
 
def pop (self, new, name)
 
def flatten (self, new)
 
def merge (self, orig, new)
 
def __init__ (self, key, pyparser=None, default=None, initvalue=None, data_name=None, list_merge=False, asList=False, asDict=False, required=False)
 
def add (self, obj)
 
def __iadd__ (self, obj)
 
def get_globals (self)
 
def find_parser (self, text)
 
def parse (self, node, text, comment)
 
def pyparse (self, text)
 
def fin (self, node)
 
def pop (self, new, name)
 
def flatten (self, new)
 
def merge (self, orig, new)
 

Public Attributes

 needs_text
 
 merge
 
- Public Attributes inherited from pybis.Parse
 key
 
 flat_key
 
 data_name
 
 default
 
 initvalue
 
 pyparser
 
 list_merge
 
 asList
 
 asDict
 
 children
 
 parent
 
 globals
 
 required
 

Detailed Description

Multi-line token, such as '[Model]'

Constructor & Destructor Documentation

◆ __init__() [1/2]

def 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 in pybis.MatrixSection, pybis.MatrixSection, pybis.RangeSection, and pybis.RangeSection.

◆ __init__() [2/2]

def 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 in pybis.MatrixSection, pybis.MatrixSection, pybis.RangeSection, and pybis.RangeSection.

Member Function Documentation

◆ initial() [1/2]

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

Reimplemented from pybis.Bracket.

Reimplemented in pybis.RangeSection, pybis.TableSection, pybis.TokenizeSection, pybis.RangeSection, pybis.TableSection, and pybis.TokenizeSection.

◆ initial() [2/2]

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

Reimplemented from pybis.Bracket.

Reimplemented in pybis.RangeSection, pybis.TableSection, pybis.TokenizeSection, pybis.RangeSection, pybis.TableSection, and pybis.TokenizeSection.


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