Horizon
Public Member Functions | Public Attributes | List of all members
pybis.TableSection Class Reference
Inheritance diagram for pybis.TableSection:
pybis.Section pybis.Bracket pybis.Parse pybis.Pin_Domain_EMI pybis.Pin_EMI pybis.Series_Pin_Mapping

Public Member Functions

def __init__ (self, key, pyparser=None, headers=[], optional=[], **kwds)
 
def initial (self, text, comment)
 
def assign_row (self, node, key, row)
 
def parse (self, node, text, comment)
 
def add (self, obj)
 
- Public Member Functions inherited from pybis.Section
def __init__ (self, key, pyparser=None, labeled=False, **kwds)
 
def labeled_merge (self, orig, new)
 
- Public Member Functions inherited from pybis.Bracket
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 __iadd__ (self, obj)
 
def get_globals (self)
 
def find_parser (self, text)
 
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
 
 parsers
 
 headers
 
 optional
 
- 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

[<section name>] <col1 name> <col2 name> <...>
   <row name> <col1 data> <col2 data> <...>

Member Function Documentation

◆ assign_row()

def pybis.TableSection.assign_row (   self,
  node,
  key,
  row 
)
For Seires_Pin_Mapping to override.

Reimplemented in pybis.Series_Pin_Mapping.

◆ initial()

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

Reimplemented from pybis.Section.

◆ parse()

def pybis.TableSection.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: