Parses a file for namespaces/use/class declarations.
@author Fabien Potencier <fabien@symfony.com> @author Christian Kaps <christian.kaps@mohiva.com>
Expanded class hierarchy of TokenParser
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TokenParser:: |
private | property | The number of tokens. | |
TokenParser:: |
private | property | The current array pointer. | |
TokenParser:: |
private | property | The token list. | |
TokenParser:: |
public | function | Gets the next non whitespace and non comment token. | |
TokenParser:: |
public | function | Get the class name. | |
TokenParser:: |
public | function | Get the namespace. | |
TokenParser:: |
public | function | Parse a single use statement. | |
TokenParser:: |
public | function | Get all use statements. | |
TokenParser:: |
public | function |