class documentation

Base class for Postgres-related lexers. This is implemented as a mixin to avoid the Lexer metaclass kicking in. this way the different lexer don't have a common Lexer ancestor. If they had, _tokens could be created on this ancestor and not updated for the other classes, resulting e.g. in PL/pgSQL parsed as SQL. This shortcoming seem to suggest that regexp lexers are not really subclassable.

Method get_tokens_unprocessed Undocumented
Instance Variable text Undocumented
Method _get_lexer Undocumented
def get_tokens_unprocessed(self, text, *args): (source)

Undocumented

Undocumented

def _get_lexer(self, lang): (source)

Undocumented