StopwatchTokenParser
extends AbstractTokenParser
in package
Token Parser for the stopwatch tag.
Tags
Table of Contents
- $parser : Parser
- $stopwatchIsAvailable : mixed
- __construct() : mixed
- decideStopwatchEnd() : mixed
- getTag() : string
- parse() : Node
- setParser() : void
- Sets the parser associated with this token parser.
Properties
$parser
protected
Parser
$parser
$stopwatchIsAvailable
protected
mixed
$stopwatchIsAvailable
Methods
__construct()
public
__construct(bool $stopwatchIsAvailable) : mixed
Parameters
- $stopwatchIsAvailable : bool
Return values
mixed —decideStopwatchEnd()
public
decideStopwatchEnd(Token $token) : mixed
Parameters
- $token : Token
Return values
mixed —getTag()
public
getTag() : string
Return values
string —parse()
public
parse(Token $token) : Node
Parameters
- $token : Token
Return values
Node —setParser()
Sets the parser associated with this token parser.
public
setParser(Parser $parser) : void
Parameters
- $parser : Parser