pyre.config.cfg.Parser

Module Contents

class pyre.config.cfg.Parser.Parser(**kwds)

Bases: pyre.parsing.parser

A simple parser for {cfg} files

This parser understands a variant of the windows {INI} file format. See the package documentation for details.

name = []
family = []
productions
configuration
parse(self, uri, stream, locator)

Harvest the configuration events in {stream}

processor(self, locator)

Receive tokens from the scanner and handle them

ignore(self, **kwds)

Do nothing

context(self, current)

Process a section fragment and use it to specify the assignment context

assignment(self, current)

Process a key assignment

handleError(self, description, locator)

Process the {error}