src/ViKon/Parser/TokenList.php
public function removeTokenAt($index) {
        // Remove token from behind
        if ($index < 0) {
            $index = count($this->tokens) + $index;
        }
        array_splice($this->tokens, $index, 1);
    }
public function removeTokenAt($index) {
        // Remove token from behind
        if ($index < 0) {
            $index = count($this->tokens) + $index;
        }
        array_splice($this->tokens, $index, 1);
    }
public function removeTokenAt ( $ index ) { // Remove token from behind if ( $ index < 0 ) { $ index = count ( $ this -> tokens ) + $ index ; } array_splice ( $ this -> tokens , $ index , 1 ) ; }
Remove token at specific index position

@param int $index token index, if index is negative get token from behind (-1 is last element)
Remove token at specific index position