class documentation

class Inform6TemplateLexer(Inform7Lexer):

View In Hierarchy

For Inform 6 template code.

New in version 2.0.
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable name Undocumented

Inherited from Inform7Lexer:

Method __init__ Undocumented
Class Variable ​_start Undocumented
Class Variable flags Undocumented
Class Variable token​_variants Undocumented
Class Variable tokens Undocumented
Instance Variable ​_tokens Undocumented

Inherited from Lexer (via Inform7Lexer, RegexLexer):

Method analyse​_text No summary
Method get​_tokens Return an iterable of (tokentype, value) pairs generated from text. If unfiltered is set to True, the filtering mechanism is bypassed even if filters are defined.
Class Variable alias​_filenames Undocumented
Class Variable mimetypes Undocumented
Method __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Class Variable priority Undocumented
Instance Variable encoding Undocumented
Instance Variable ensurenl Undocumented
Instance Variable filters Undocumented
Instance Variable options Undocumented
Instance Variable stripall Undocumented
Instance Variable stripnl Undocumented
Instance Variable tabsize Undocumented
def get_tokens_unprocessed(self, text, stack=('+i6t-root')):

Split text into (tokentype, text) pairs.

stack is the inital stack (default: ['root'])

aliases: list[str] =
filenames: list[str] =
name: str =