AbstractScript
abstract class AbstractScript extends AbstractPass
Properties
protected Parser | $parser | from AbstractPass | |
protected ParsedText | $text | from AbstractPass | |
protected string | $longRegexp | ||
protected string | $shortRegexp | ||
protected string | $syntaxChar | ||
protected string | $tagName |
Methods
void
parseAbstractScript(string $tagName, string $syntaxChar, string $shortRegexp, string $longRegexp)
No description
void
parseLongForm(int $pos)
Parse the long form x^(x)
void
parseShortForm(int $pos)
Parse the short form x^x and x^x^
Details
in
AbstractPass at line 29
__construct(Parser $parser, ParsedText $text)
No description
in
AbstractPass at line 40
abstract void
parse()
Parse the prepared text from stored parser
at line 39
protected void
parseAbstractScript(string $tagName, string $syntaxChar, string $shortRegexp, string $longRegexp)
No description
at line 64
protected void
parseLongForm(int $pos)
Parse the long form x^(x)
This syntax is supported by RDiscount
at line 94
protected void
parseShortForm(int $pos)
Parse the short form x^x and x^x^
This syntax is supported by most implementations that support superscript