class documentation

For TADS 3 source code.

Method analyse_text This is a rather generic descriptive language without strong identifiers. It looks like a 'GameMainDef' has to be present, and/or a 'versionInfo' with an 'IFID' field.
Method get_tokens_unprocessed Split ``text`` into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable flags Undocumented
Class Variable name Undocumented
Class Variable tokens Undocumented
Method _make_attribute_value_state Undocumented
Method _make_string_state Undocumented
Method _make_tag_state Undocumented
Class Variable _comment_multiline Undocumented
Class Variable _comment_single Undocumented
Class Variable _escape Undocumented
Class Variable _name Undocumented
Class Variable _no_quote Undocumented
Class Variable _operator Undocumented
Class Variable _ws Undocumented
Class Variable _ws_pp Undocumented

Inherited from Lexer (via RegexLexer):

Method __init__ Undocumented
Method __repr__ Undocumented
Method add_filter Add a new stream filter to this lexer.
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
Class Variable priority Undocumented
Class Variable url 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 analyse_text(text): (source)

This is a rather generic descriptive language without strong identifiers. It looks like a 'GameMainDef' has to be present, and/or a 'versionInfo' with an 'IFID' field.

def get_tokens_unprocessed(self, text, **kwargs): (source)

Split ``text`` into (tokentype, text) pairs. ``stack`` is the initial stack (default: ``['root']``)

Undocumented

filenames: list[str] = (source)

Undocumented

Undocumented

Undocumented

def _make_attribute_value_state(terminator, host_triple, host_double, _escape=_escape): (source)

Undocumented

def _make_string_state(triple, double, verbatim=None, _escape=_escape): (source)

Undocumented

def _make_tag_state(triple, double, _escape=_escape): (source)

Undocumented

_comment_multiline: str = (source)

Undocumented

_comment_single: str = (source)

Undocumented

Undocumented

Undocumented

_no_quote: str = (source)

Undocumented

_operator: str = (source)

Undocumented

Undocumented

Undocumented