function getCurrentStackItem() {
		$topItem = end($this->statements);

		if (!empty($topItem)) {
			return $topItem;
		} else {
			// In case of a empty stack, we are at the root of a PHP file (with no class or function).
			// We return the default values
			return $this->getDefaultItem();
		}
	}
function getCurrentStackItem() {
		$topItem = end($this->statements);

		if (!empty($topItem)) {
			return $topItem;
		} else {
			// In case of a empty stack, we are at the root of a PHP file (with no class or function).
			// We return the default values
			return $this->getDefaultItem();
		}
	}
function getCurrentStackItem ( ) { $ topItem = end ( $ this -> statements ) ; if ( ! empty ( $ topItem ) ) { return $ topItem ; } else { // In case of a empty stack, we are at the root of a PHP file (with no class or function).
 // We return the default values
 return $ this -> getDefaultItem ( ) ; } }
Return the top stack item.

@return StatementItem
Return the top stack item .