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(); } }
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; } }
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; } }
inlineTag(trees); break;
inlineTag(trees); break;