class documentation

class Parser(ParserClass): (source)

View In Hierarchy

Undocumented

Static Method parse_url Undocumented
Method parse ABSTRACT METHOD: needs to be overloaded by sub-classes.

Inherited from ParserClass:

Class Method parse_image_url Parse urls style options for images like "foo.png?width=500" and returns a dict with the options. The base url will be in the dict as 'src'.
@staticmethod
def parse_url(builder, text): (source)

Undocumented

def parse(self, input): (source)

ABSTRACT METHOD: needs to be overloaded by sub-classes.

This method takes a text or an iterable with lines and returns a ParseTree object.