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

Public Member Functions

 __init__ (self, comment_holder)
 
 initial (self, text, comment)
 
 fin (self, node)
 
- 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)
 
 parse (self, node, text, comment)
 
 pyparse (self, text)
 
 pop (self, new, name)
 
 flatten (self, new)
 
 merge (self, orig, new)
 

Public Attributes

 holder
 
- 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 '[Comment Char]' keyword.

Constructor & Destructor Documentation

◆ __init__()

pybis.Comment.__init__ (   self,
  key 
)
key:         Name of element.
   pyparser:    Parser to call with pyparse
   default:     Default value of object if not found
   initvalue:   Default value of object on first merge
   data_name:   Make the data of this node a child with name 'data_name'
   list_merge:  Merge multiple copies together as list
   asList:      Interpret pyparse results as a list
   asDict:      Interpret pyparse results as a dict
   required:    raise Exception if not found

Reimplemented from pybis.Parse.

Member Function Documentation

◆ fin()

pybis.Comment.fin (   self,
  node 
)
Ignore this node.

Reimplemented from pybis.Parse.

◆ initial()

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

Reimplemented from pybis.Bracket.


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