} else printString(name.toString());
    protected void print(Text text) {        switch (text) {        case Keyword(String name):            startSpan("kw");            printString(name);            endSpan();            break;        case Literal(String str):            startSpan("lit");            printString(str);            endSpan();            break;        case Identifier(Symbol symbol, String name, SymbolUsage usage):            boolean defined = (usage == SymbolUsage.Definition);            if (defined) startSpan("idDef");            if (symbol != null) {                String attr = (defined ? "name" : "href");                startTag("a", attr, symbolAnchor(symbol, usage));            }            printString(name);            if (symbol != null)                endTag("a");            if (defined) endSpan();            break;        default:            super.print(text);        }    }