| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
Represents a token stream.
| Author: | Fabien Potencier <fabien@symfony.com> |
| File Size: | 134 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| __construct(array $tokens, Source $source = null) X-Ref |
| No description |
| __toString() X-Ref |
| No description |
| injectTokens(array $tokens) X-Ref |
| No description |
| next() X-Ref |
| Sets the pointer to the next token and returns the old one. |
| nextIf($primary, $secondary = null) X-Ref |
| Tests a token, sets the pointer to the next one and returns it or throws a syntax error. return: Token|null The next token if the condition is true, null otherwise |
| expect($type, $value = null, string $message = null) X-Ref |
| Tests a token and returns it or throws a syntax error. |
| look(int $number = 1) X-Ref |
| Looks at the next token. |
| test($primary, $secondary = null) X-Ref |
| Tests the current token. |
| isEOF() X-Ref |
| Checks if end of stream was reached. |
| getCurrent() X-Ref |
| No description |
| getSourceContext() X-Ref |
| Gets the source associated with this stream. |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |