/** * Returns whether the following token exists. * * @return result */ private boolean more() { if (all) return tokens.hasNext(); while (tokens.hasNext()) { currToken = tokens.next(); if (!currToken.isMark() && !currToken.isAttachedWord()) return true; } return false; }