C

Stream::currentToken() — Method in class Stream

Returns current token.

Stream::currentValue() — Method in class Stream

Returns current token value.

Stream::consumeToken() — Method in class Stream

Returns next token or throws exception.

Stream::consumeValue() — Method in class Stream

Returns next token value or throws exception.

TokenIterator::currentToken() — Method in class TokenIterator

Returns current token.

TokenIterator::currentValue() — Method in class TokenIterator

Returns current token value.

E

ExceptionClass in namespace Nette\Tokenizer

The exception that indicates tokenizer error.

G

Tokenizer::getCoordinates() — Method in class Tokenizer

Returns position of token in input string.

Tokenizer::getCoordinates() — Method in class Tokenizer

Returns position of token in input string.

I

$ Stream#ignoredProperty in class Stream
Stream::isCurrent() — Method in class Stream

Checks the current token.

Stream::isNext() — Method in class Stream

Checks the next token existence.

Stream::isPrev() — Method in class Stream

Checks the previous token existence.

Token::is() — Method in class Token
$ TokenIterator#ignoredProperty in class TokenIterator
TokenIterator::isCurrent() — Method in class TokenIterator

Checks the current token.

TokenIterator::isNext() — Method in class TokenIterator

Checks the next token existence.

TokenIterator::isPrev() — Method in class TokenIterator

Checks the previous token existence.

J

Stream::joinAll() — Method in class Stream

Returns concatenation of all next token values.

Stream::joinUntil() — Method in class Stream

Returns concatenation of all next tokens until it sees a given token type or value.

TokenIterator::joinAll() — Method in class TokenIterator

Returns concatenation of all next token values.

TokenIterator::joinUntil() — Method in class TokenIterator

Returns concatenation of all next tokens until it sees a given token type or value.

N

Stream::nextToken() — Method in class Stream

Returns next token.

Stream::nextValue() — Method in class Stream

Returns next token value.

Stream::nextAll() — Method in class Stream

Returns all next tokens.

Stream::nextUntil() — Method in class Stream

Returns all next tokens until it sees a given token type or value.

Stream::next() — Method in class Stream

Moves cursor to next token.

TokenIterator::nextToken() — Method in class TokenIterator

Returns next token.

TokenIterator::nextValue() — Method in class TokenIterator

Returns next token value.

TokenIterator::nextAll() — Method in class TokenIterator

Returns all next tokens.

TokenIterator::nextUntil() — Method in class TokenIterator

Returns all next tokens until it sees a given token type or value.

TokenIterator::next() — Method in class TokenIterator

Moves cursor to next token.

O

$ Token#offsetProperty in class Token

P

$ Stream#positionProperty in class Stream
$ TokenIterator#positionProperty in class TokenIterator

R

Stream::reset() — Method in class Stream
TokenIterator::reset() — Method in class TokenIterator

S

StreamClass in namespace Nette\Tokenizer

Stream of tokens.

Stream::scan() — Method in class Stream

Looks for (first) (not) wanted tokens.

TokenIterator::scan() — Method in class TokenIterator

Looks for (first) (not) wanted tokens.

T

$ Stream#tokensProperty in class Stream
TokenClass in namespace Nette\Tokenizer

Simple token.

$ Token#typeProperty in class Token
TokenizerClass in namespace Nette\Tokenizer

Simple lexical analyser.

Tokenizer::tokenize() — Method in class Tokenizer

Tokenizes string.

TokenIteratorClass in namespace Nette\Utils

Traversing helper.

$ TokenIterator#tokensProperty in class TokenIterator
TokenizerClass in namespace Nette\Utils

Simple lexical analyser.

Tokenizer::tokenize() — Method in class Tokenizer

Tokenizes string.

TokenizerExceptionClass in namespace Nette\Utils

V

$ Token#valueProperty in class Token

_

Stream::__construct() — Method in class Stream
Token::__construct() — Method in class Token
Tokenizer::__construct() — Method in class Tokenizer
TokenIterator::__construct() — Method in class TokenIterator
Tokenizer::__construct() — Method in class Tokenizer