Superscript
class Superscript extends AbstractScript
Properties
protected Parser | $parser | from AbstractPass | |
protected ParsedText | $text | from AbstractPass | |
protected string | $longRegexp | from AbstractScript | |
protected string | $shortRegexp | from AbstractScript | |
protected string | $syntaxChar | from AbstractScript | |
protected string | $tagName | from AbstractScript |
Methods
void
parse()
Parse the prepared text from stored parser
void
parseAbstractScript(string $tagName, string $syntaxChar, string $shortRegexp, string $longRegexp)
No description
from
AbstractScript
Details
in
AbstractPass at line 29
__construct(Parser $parser, ParsedText $text)
No description
at line 15
void
parse()
Parse the prepared text from stored parser
in
AbstractScript at line 39
protected void
parseAbstractScript(string $tagName, string $syntaxChar, string $shortRegexp, string $longRegexp)
No description
in
AbstractScript at line 64
protected void
parseLongForm(int $pos)
Parse the long form x^(x)
This syntax is supported by RDiscount
in
AbstractScript 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