Horizon
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
pybis.DictSection Class Reference
Inheritance diagram for pybis.DictSection:
pybis.Section pybis.Bracket pybis.Parse

Public Member Functions

 __init__ (self, key, pyparser=None, **kwds)
 
 parse (self, node, text, comment)
 
- Public Member Functions inherited from pybis.Section
 initial (self, text, comment)
 
 labeled_merge (self, orig, new)
 
- Public Member Functions inherited from pybis.Bracket
 can_parse (self, text)
 
- Public Member Functions inherited from pybis.Parse
 add (self, obj)
 
 __iadd__ (self, obj)
 
 get_globals (self)
 
 find_parser (self, text)
 
 pyparse (self, text)
 
 fin (self, node)
 
 pop (self, new, name)
 
 flatten (self, new)
 
 merge (self, orig, new)
 

Public Attributes

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

Detailed Description

Each line is indexed by the first token.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented from pybis.Section.

Member Function Documentation

◆ parse()

pybis.DictSection.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: