Index
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
- Exception — Class 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#ignored — Property 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#ignored — Property 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#offset — Property in class Token
P
- $ Stream#position — Property in class Stream
- $ TokenIterator#position — Property in class TokenIterator
R
- Stream::reset() — Method in class Stream
- TokenIterator::reset() — Method in class TokenIterator
S
- Stream — Class 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#tokens — Property in class Stream
- Token — Class in namespace Nette\Tokenizer
Simple token.
- $ Token#type — Property in class Token
- Tokenizer — Class in namespace Nette\Tokenizer
Simple lexical analyser.
- Tokenizer::tokenize() — Method in class Tokenizer
Tokenizes string.
- TokenIterator — Class in namespace Nette\Utils
Traversing helper.
- $ TokenIterator#tokens — Property in class TokenIterator
- Tokenizer — Class in namespace Nette\Utils
Simple lexical analyser.
- Tokenizer::tokenize() — Method in class Tokenizer
Tokenizes string.
- TokenizerException — Class in namespace Nette\Utils
V
- $ Token#value — Property 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