protected void skipWhitespace() { while (isWhitespace(ch)) nextChar(); }
protected void attrValueChar(ListBuffer<DCTree> list) { switch (ch) { case '&': entity(list); break; case '{': inlineTag(list); break; default: nextChar(); } }
protected void attrValueChar(ListBuffer<DCTree> list) { switch (ch) { case '&': entity(list); break; case '{': inlineTag(list); break; default: nextChar(); } }
public DCTree parse(int pos) throws ParseException { DCTree text = inlineText(); nextChar(); return m.at(pos).Literal((DCText) text); } },
public DCTree parse(int pos) throws ParseException { DCTree text = inlineText(); nextChar(); return m.at(pos).Literal((DCText) text); } },
public DCTree parse(int pos) throws ParseException { DCTree text = inlineText(); nextChar(); return m.at(pos).Code((DCText) text); } },
public DCTree parse(int pos) throws ParseException { DCTree text = inlineText(); nextChar(); return m.at(pos).Code((DCText) text); } },
protected void inlineTag(ListBuffer<DCTree> list) { newline = false; nextChar(); if (ch == '@') { addPendingText(list, bp - 2); list.add(inlineTag()); textStart = bp; lastNonWhite = -1; } else { if (textStart == -1) textStart = bp - 1; lastNonWhite = bp; } }