public function preceededBy($token)
	{
		if(is_integer($token))
		{
			$tok = $this->tokens[$this->index - 1];
				
			if(is_array($tok) && $tok[0] == $token)
			{
				return true;
			}
		}
		else
		{
			return $token == $this->tokens[$this->index - 1];
		}
	}
public function preceededBy($token)
	{
		if(is_integer($token))
		{
			$tok = $this->tokens[$this->index - 1];
				
			if(is_array($tok) && $tok[0] == $token)
			{
				return true;
			}
		}
		else
		{
			return $token == $this->tokens[$this->index - 1];
		}
	}
public function preceededBy ( $ token ) { if ( is_integer ( $ token ) ) { $ tok = $ this -> tokens [ $ this -> index - 1 ] ; if ( is_array ( $ tok ) && $ tok [ 0 ] == $ token ) { return true ; } } else { return $ token == $ this -> tokens [ $ this -> index - 1 ] ; } }
Check if the token at the current position is preceeded by the given token.

@param mixed $token
@return boolean
Check if the token at the current position is preceeded by the given token .