Lines Matching refs:token
65 $token = $tokens[$pos];
66 if ($token->is($expectedTokenType)) {
69 if (!$token->isIgnorable()) {
90 $token = $tokens[$pos];
91 if ($token->is($expectedTokenType)) {
94 if (!$token->isIgnorable()) {
227 $token = $tokens[$pos];
228 $id = $token->id;
229 $text = $token->text;
254 foreach ($this->tokens as $i => $token) {
257 if ($token->id === \T_WHITESPACE) {
258 $content = $token->text;