addPathSegment

protected fun addPathSegment(add: () -> Unit)