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

Public Member Functions

def __init__ (self, key, comments=True, **kwds)
 
def initial (self, text, comment)
 
def parse (self, node, text, comment)
 
def merge (self, orig, new)
 
def flatten (self, node)
 
def __init__ (self, key, comments=True, **kwds)
 
def initial (self, text, comment)
 
def parse (self, node, text, comment)
 
def merge (self, orig, new)
 
def flatten (self, node)
 
- 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 fin (self, node)
 
def pop (self, new, name)
 
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 fin (self, node)
 
def pop (self, new, name)
 

Public Attributes

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

Detailed Description

IBIS text section, such as '[Copyright]'
   Since some IBIS files include important copyright data in comments
   below the keyword, we capture all text, including comments.

Member Function Documentation

◆ flatten() [1/2]

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

Reimplemented from pybis.Parse.

◆ flatten() [2/2]

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

Reimplemented from pybis.Parse.

◆ initial() [1/2]

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

Reimplemented from pybis.Bracket.

◆ initial() [2/2]

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

Reimplemented from pybis.Bracket.

◆ merge() [1/2]

def pybis.Text.merge (   self,
  orig,
  new 
)
Just merge together subsequent entries.

Reimplemented from pybis.Parse.

◆ merge() [2/2]

def pybis.Text.merge (   self,
  orig,
  new 
)
Just merge together subsequent entries.

Reimplemented from pybis.Parse.

◆ parse() [1/2]

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