private Tree < Row > findEndIf ( Tree < Row > pointer ) { while ( ! Type . END_IF . equals ( pointer . getContent ( ) . getType ( ) ) ) { pointer = pointer . getNext ( ) ; } return pointer ; }
Finds the associate END_IF for an IF ELSE_IF or ELSE pointer