Lines Matching refs:token
26 $token = $tokens[$i];
27 if (isset($map[$token->id]) && $i + 3 < $c && $tokens[$i + 1]->text === '(' &&
34 $map[$token->id], $token->text . '(' . $tokens[$i + 2]->text . ')',
35 $token->line, $token->pos),
51 $token = $tokens[$i];
52 if (isset($reverseMap[$token->id]) &&
53 \preg_match('/(public|protected|private)\((set)\)/i', $token->text, $matches)
58 new Token($reverseMap[$token->id], $modifier, $token->line, $token->pos),
59 new Token(\ord('('), '(', $token->line, $token->pos + $modifierLen),
60 new Token(\T_STRING, $set, $token->line, $token->pos + $modifierLen + 1),
61 new Token(\ord(')'), ')', $token->line, $token->pos + $modifierLen + 4),