Метод | Описание | |
---|---|---|
__construct ( string $filename = null ) | ||
fromCode ( string $code, |
Extract and process all doc-comments from the contents. | |
fromFile ( string $filename ) : |
Extract and process all doc-comments from a file. |
Метод | Описание | |
---|---|---|
fromTokens ( array $tokens, |
Shared implementation for parseFile() & parseContents(). |
Метод | Описание | |
---|---|---|
analyseComment ( |
||
nextToken ( array &$tokens, |
The next non-whitespace, non-comment token. | |
parseNamespace ( &$tokens, &$token, $parseContext ) | ||
parseUseStatement ( &$tokens, &$token, $parseContext ) |
protected fromTokens ( array $tokens, |
||
$tokens | array | The result of a token_get_all() |
$parseContext | ||
Результат |