class TokenParser

Parses a file for namespaces/use/class declarations.

@author Fabien Potencier <fabien@symfony.com> @author Christian Kaps <christian.kaps@mohiva.com>

Hierarchy

Expanded class hierarchy of TokenParser

1 file declares its use of TokenParser

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/TokenParser.php, line 28

Namespace

Doctrine\Common\Annotations
View source

Members

Namesort descending Modifiers Type Description Overrides
TokenParser::$numTokens private property The number of tokens.
TokenParser::$pointer private property The current array pointer.
TokenParser::$tokens private property The token list.
TokenParser::next public function Gets the next non whitespace and non comment token.
TokenParser::parseClass public function Get the class name.
TokenParser::parseNamespace public function Get the namespace.
TokenParser::parseUseStatement public function Parse a single use statement.
TokenParser::parseUseStatements public function Get all use statements.
TokenParser::__construct public function