Returns a PRE value of the parent node. @param pre PRE value @param kind node kind @return PRE value of the parent node
(final int pre, final int kind)
| 319 | * @return PRE value of the parent node |
| 320 | */ |
| 321 | public final int parent(final int pre, final int kind) { |
| 322 | return pre - dist(pre, kind); |
| 323 | } |
| 324 | |
| 325 | /** |
| 326 | * Returns the distance of the specified node. |