class documentation

class HeaderParser(Parser): (source)

View In Hierarchy

Parses the LyX header

Method complete Complete the parser with the given ending.
Method parse Parse header parameters into a dictionary, return the preamble.
Method parsebranch Parse all branch definitions.
Method parseline Parse a single line as a parameter or as a start
Instance Variable ending Undocumented

Inherited from Parser:

Method __init__ Undocumented
Method __unicode__ Return a description
Method parsecontainer Undocumented
Method parseending Parse until the current ending is found
Method parseheader Parse the header
Method parseparameter Parse a parameter
Method parsexml Parse a parameter in xml form: <param attr1=value...>
Instance Variable begin Undocumented
Instance Variable parameters Undocumented
def complete(self, ending): (source)

Complete the parser with the given ending.

def parse(self, reader): (source)

Parse header parameters into a dictionary, return the preamble.

def parsebranch(self, reader): (source)

Parse all branch definitions.

def parseline(self, reader, contents): (source)

Parse a single line as a parameter or as a start

Undocumented