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