parentType

fun parentType(depth: Int = this.depth - 1): NodeType