private void parseHiddenComment() { parseZeroOrMoreWs(); if (stream.peekCharIs('!')) { stream.forceEol(); } }
protected void parseZeroOrMoreWsOptCmtNl() { while (true) { parseZeroOrMoreWs(); parseHiddenComment(); if (stream.eol()) { stream.advanceLine(); } else { return; } } }
protected void forceParseNlOrEof() { parseZeroOrMoreWs(); if (stream.eol()) { stream.advanceLine(); return; } if (stream.eof()) { return; } error("expected newline or end of line but found: " + stream.rest()); }
private String getParseUntilAdv(String compl) { String ret = getParseUntil(compl); s.advance(1); return ret; }
protected void forceParseNlOrEof() { parseZeroOrMoreWs(); if (stream.eol()) { stream.advanceLine(); return; } if (stream.eof()) { return; } error("expected newline or end of line but found: " + stream.rest()); }
protected void parseZeroOrMoreWsOptCmtNl() { while (true) { parseZeroOrMoreWs(); parseHiddenComment(); if (stream.eol()) { stream.advanceLine(); } else { return; } } }
private void parseHiddenComment() { parseZeroOrMoreWs(); if (stream.peekCharIs('!')) { stream.forceEol(); } }
private String getParseUntilAdv(String compl) { String ret = getParseUntil(compl); stream.advance(1); return ret; }
protected void parseZeroOrMoreWsOptCmtNl() { while (true) { parseZeroOrMoreWs(); parseHiddenComment(); if (stream.eol()) { stream.advanceLine(); } else { return; } } }
private void parseHiddenComment() { parseZeroOrMoreWs(); if (stream.peekCharIs('!')) { stream.forceEol(); } }
private String getParseUntilAdv(String compl) { String ret = getParseUntil(compl); stream.advance(1); return ret; }
private void parseHiddenComment() { parseZeroOrMoreWs(); if (stream.peekCharIs('!')) { stream.forceEol(); } }
private String getParseUntilAdv(String compl) { String ret = getParseUntil(compl); stream.advance(1); return ret; }