private boolean isAtEOL ( ) { int next = skipLineSpace ( index ) ; return next >= tokens . size ( ) || tokens . get ( next ) . kind == NewLine ; }
Check whether the current index is after skipping all line spaces at the end of a line . This method does not change the state!