TokenParser
Less than 1 minute
TokenParser
Base parser for token-based PHP declaration parsers.
class TokenParserProperties
namespace
public ParserNamespace $namespacename
public string $namefile
public ParserFile $fileline
public int $linedocBlock
public DocBlock $docBlockfullName
public string $fullNamebrief
public string $briefdetail
public string $detailMethods
__construct
Creates a parser and optionally parses at the current token position.
public __construct(?array $tokens, ?ParserNamespace $namespace, ?ParserFile $file): voidParameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | |
$namespace | ParserNamespace | |
$file | ParserFile |
parse
Parses the symbol represented by the current token pointer.
protected parse(array $tokens): boolParameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | the token stream to parse |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000