Module: wt2html/tokenizer_utils

Utilities used in the tokenizer.

Classes

SyntaxStops

Syntax stops: Avoid eating significant tokens for higher-level rules in nested inline rules.

Methods

(static) inlineBreaks()

Inline breaks, flag-enabled rule which detects end positions for active higher-level rules in inline and other nested rules.

Inline breaks, flag-enabled rule which detects end positions for active higher-level rules in inline and other nested rules. Those inner rules are then exited, so that the outer rule can handle the end marker.

Source:

(static) popComments()

Pop off the end comments, if any.

Pop off the end comments, if any.

Source:

(static) sprintf()

Simple string formatting using %s.

Simple string formatting using %s.

Source: