DocBlockParser
Less than 1 minute
DocBlockParser
Helpers for discovering declaration doc comments in token streams.
trait DocBlockParserMethods
checkDocComment
Returns the doc comment token immediately before the current token.
protected checkDocComment(array $tokens, bool $doubleJump): ?DocBlockParameters
| Parameter | Type | Description |
|---|---|---|
$tokens | array | token stream used by the parser |
$doubleJump | bool | whether to move back two tokens before checking |
Generated by Hazaar API Doc Generator on Wed, 22 Jul 2026 14:10:08 +0000