protected void skipWhitespace() { while (isWhitespace(ch)) nextChar(); }
protected void skipWhitespace() { while (isWhitespace(ch)) nextChar(); }
if (i > 0) { int i0 = i; while (i0 > 0 && isWhitespace(s.charAt(i0 - 1))) i0--; fs.add(m.at(t.pos).Text(s.substring(0, i0))); int i1 = i; while (i1 < s.length() && isWhitespace(s.charAt(i1))) i1++; body = body.tail; if (isSentenceBreak(body.tail.head)) { int i0 = s.length() - 1; while (i0 > 0 && isWhitespace(s.charAt(i0))) i0--; fs.add(m.at(t.pos).Text(s.substring(0, i0 + 1)));
if (i > 0) { int i0 = i; while (i0 > 0 && isWhitespace(s.charAt(i0 - 1))) i0--; fs.add(m.at(t.pos).Text(s.substring(0, i0))); int i1 = i; while (i1 < s.length() && isWhitespace(s.charAt(i1))) i1++; body = body.tail; if (isSentenceBreak(body.tail.head)) { int i0 = s.length() - 1; while (i0 > 0 && isWhitespace(s.charAt(i0))) i0--; fs.add(m.at(t.pos).Text(s.substring(0, i0 + 1)));
public DCTree parse(int pos) throws ParseException { skipWhitespace(); DCIdentifier name = identifier(); skipWhitespace(); DCReference type = reference(false); List<DCTree> description = null; if (isWhitespace(ch)) { skipWhitespace(); description = blockContent(); } return m.at(pos).SerialField(name, type, description); } },
public DCTree parse(int pos) throws ParseException { skipWhitespace(); DCIdentifier name = identifier(); skipWhitespace(); DCReference type = reference(false); List<DCTree> description = null; if (isWhitespace(ch)) { skipWhitespace(); description = blockContent(); } return m.at(pos).SerialField(name, type, description); } },