class documentation

class ProfilingRegexLexerMeta(RegexLexerMeta): (source)

View In Hierarchy

Metaclass for ProfilingRegexLexer, collects regex timing info.

Method _process_regex Preprocess the regular expression component of a token definition.

Inherited from RegexLexerMeta:

Method __call__ Instantiate cls after preprocessing its token definitions.
Method get_tokendefs Merge tokens from superclasses in MRO order, returning a single tokendef dictionary.
Method process_tokendef Preprocess a dictionary of token definitions.
Method _process_new_state Preprocess the state transition action of a token definition.
Method _process_state Preprocess a single state definition.
Method _process_token Preprocess the token component of a token definition.

Inherited from LexerMeta (via RegexLexerMeta):

Method __new__ Undocumented
def _process_regex(cls, regex, rflags, state): (source)

Preprocess the regular expression component of a token definition.