Horizon
Public Member Functions | Public Attributes | List of all members
pybis.RangeSection Class Reference
Inheritance diagram for pybis.RangeSection:
pybis.Section pybis.Bracket pybis.Parse pybis.Series_MOSFET

Public Member Functions

def __init__ (self, key, increasing_idx=False, decreasing_idx=False, **kwds)
 
def initial (self, text, comment)
 
def parse (self, node, text, comment)
 
def flatten (self, node)
 
def fin (self, node)
 
def __init__ (self, key, increasing_idx=False, decreasing_idx=False, **kwds)
 
def initial (self, text, comment)
 
def parse (self, node, text, comment)
 
def flatten (self, node)
 
def fin (self, node)
 
- Public Member Functions inherited from pybis.Section
def labeled_merge (self, orig, new)
 
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 pyparse (self, text)
 
def pop (self, new, name)
 
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 pyparse (self, text)
 
def pop (self, new, name)
 
def merge (self, orig, new)
 

Public Attributes

 increasing_idx
 
 decreasing_idx
 
- Public Attributes inherited from pybis.Section
 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

Indexed tabular typ/min/max data, such as '[Pullup]'

Constructor & Destructor Documentation

◆ __init__() [1/2]

def pybis.RangeSection.__init__ (   self,
  key,
  pyparser = False,
  labeled = False,
**  kwds 
)
If a Section is labeled, the data is an OrderedDict of objects
   indexed by sectionText.

Reimplemented from pybis.Section.

◆ __init__() [2/2]

def pybis.RangeSection.__init__ (   self,
  key,
  pyparser = False,
  labeled = False,
**  kwds 
)
If a Section is labeled, the data is an OrderedDict of objects
   indexed by sectionText.

Reimplemented from pybis.Section.

Member Function Documentation

◆ fin() [1/2]

def pybis.RangeSection.fin (   self,
  node 
)
Add a node to the parent.

Reimplemented from pybis.Parse.

◆ fin() [2/2]

def pybis.RangeSection.fin (   self,
  node 
)
Add a node to the parent.

Reimplemented from pybis.Parse.

◆ flatten() [1/2]

def pybis.RangeSection.flatten (   self,
  new 
)
Reformat pyparse results as what we'd expect.

Reimplemented from pybis.Parse.

Reimplemented in pybis.Series_MOSFET, and pybis.Series_MOSFET.

◆ flatten() [2/2]

def pybis.RangeSection.flatten (   self,
  new 
)
Reformat pyparse results as what we'd expect.

Reimplemented from pybis.Parse.

Reimplemented in pybis.Series_MOSFET, and pybis.Series_MOSFET.

◆ initial() [1/2]

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

Reimplemented from pybis.Section.

◆ initial() [2/2]

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

Reimplemented from pybis.Section.

◆ parse() [1/2]

def pybis.RangeSection.parse (   self,
  node,
  text,
  comment 
)
Parse a subsequent line of text, False means we can't.

Reimplemented from pybis.Parse.

◆ parse() [2/2]

def pybis.RangeSection.parse (   self,
  node,
  text,
  comment 
)
Parse a subsequent line of text, False means we can't.

Reimplemented from pybis.Parse.


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