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