Package libxyz :: Package parser :: Module base :: Class BaseParser

[hide private]
[frames] | no frames]

# Class BaseParser

source code

    object --+
             |
            BaseParser

Common parser interface

Instance Methods | [hide private]

parse(self, *args, **kwargs) | source code

error(self, msg=None, etype=None) Parsing error. | source code

set_opt(self, default, opt) | source code

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]

| error_unexpected = `1`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### error(self, msg=None, etype=None)

source code

Parsing error. Raise exception