Horizon
|
Public Member Functions | |
def | __init__ (self, comment_holder) |
def | initial (self, text, comment) |
def | fin (self, node) |
![]() | |
def | can_parse (self, text) |
def | initial (self, text, comment) |
![]() | |
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 | can_parse (self, text) |
def | initial (self, text, comment) |
def | parse (self, node, text, comment) |
def | pyparse (self, text) |
def | fin (self, node) |
def | pop (self, new, name) |
def | flatten (self, new) |
def | merge (self, orig, new) |
Public Attributes | |
holder | |
![]() | |
key | |
flat_key | |
data_name | |
default | |
initvalue | |
pyparser | |
list_merge | |
asList | |
asDict | |
children | |
parent | |
globals | |
required | |
IBIS '[Comment Char]' keyword.
def 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.
def pybis.Comment.fin | ( | self, | |
node | |||
) |
Ignore this node.
Reimplemented from pybis.Parse.
def pybis.Comment.initial | ( | self, | |
text, | |||
comment | |||
) |
Parse the first line of text and return a Node object.
Reimplemented from pybis.Bracket.