src/Jit/TokenStream.php
protected function _getToken($index, $type)
    {
        if ($index === null) {
            $index = $this->_current;
        }
        return isset($this->_data[$index]) ? $this->_data[$index][$type] : null;
    }
protected function _getToken($index, $type)
    {
        if ($index === null) {
            $index = $this->_current;
        }
        return isset($this->_data[$index]) ? $this->_data[$index][$type] : null;
    }
protected function _getToken ( $ index , $ type ) { if ( $ index === null ) { $ index = $ this -> _current ; } return isset ( $ this -> _data [ $ index ] ) ? $ this -> _data [ $ index ] [ $ type ] : null ; }
Returns the current token value.

@param  integer     $index Token position, if none given, consider the current iteration position.
@return string|null
Returns the current token value .