phplinter\Lint\BaseLint::next PHP Method

next() protected method

----------------------------------------------------------------------+ Return the next meaningfull token
protected next ( $pos ) : Int
return Int ----------------------------------------------------------------------+
    protected function next($pos)
    {
        $i = $pos;
        $o = $this->node->tokens;
        $c = $this->node->token_count;
        while (++$i < $c) {
            if (\phplinter\Tokenizer::meaningfull($o[$i][0])) {
                return $i;
            }
        }
        return false;
    }