Lines Matching refs:current
75 switch ($tokens->current()[0]) {
86 if ($tokens->current() === '{'
87 || $tokens->current()[0] === T_CURLY_OPEN
88 || $tokens->current()[0] === T_DOLLAR_OPEN_CURLY_BRACES) {
95 if ($tokens->current() === '}') {
126 …while ($tokens->valid() && ($tokens->current()[0] === T_STRING || $tokens->current()[0] === T_NS_S…
128 $name .= $tokens->current()[1];
152 if ($tokens->current()[0] === self::T_LITERAL_END_OF_USE) {
169 …while ($tokens->valid() && ($tokens->current()[0] !== T_STRING) && ($tokens->current()[0] !== T_NS…
186 && ($tokens->current()[0] !== self::T_LITERAL_USE_SEPARATOR)
187 && ($tokens->current()[0] !== self::T_LITERAL_END_OF_USE)
189 if ($tokens->current()[0] === T_AS) {
192 if ($tokens->current()[0] === T_STRING || $tokens->current()[0] === T_NS_SEPARATOR) {
193 $result[count($result) - 1] .= $tokens->current()[1];