Horizon
Loading...
Searching...
No Matches
pybis.ListSection Class Reference
Inheritance diagram for pybis.ListSection:
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
 __init__ (self, key, pyparser=None, labeled=False, **kwds)
 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
 __init__ (self, key, pyparser=None, default=None, initvalue=None, data_name=None, list_merge=False, asList=False, asDict=False, required=False)
 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)

Additional Inherited Members

Public Attributes inherited from pybis.Section
 needs_text = labeled
Public Attributes inherited from pybis.Parse
 key = key
 flat_key = key.replace(' ', '_').lower()
 data_name = data_name
 default = default
 initvalue = initvalue
 pyparser = pyparser
 list_merge = list_merge
 asList = asList
 asDict = asDict
 children = OrderedDict()
 parent = None
 globals = None
 required = required

Detailed Description

Each line is an element of a list.

Member Function Documentation

◆ parse()

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