PrettyPrintVisitor

Members

Functions

argsToBuffer
void argsToBuffer(Expressions* expressions, Expression basis = null)

Write out argument list to buf.

expToBuffer
void expToBuffer(Expression e, PREC pr)

Write expression out to buf, but wrap it in ( ) if its precedence is less than pr.

objectToBuffer
void objectToBuffer(RootObject oarg)

This makes a 'pretty' version of the template arguments. It's analogous to genIdent() which makes a mangled version.

typeToBuffer
void typeToBuffer(Type t, Identifier ident)

An entry point to pretty-print type.

visit
void visit(Dsymbol s)
visit
void visit(ErrorInitializer iz)
visit
void visit(TemplateTypeParameter tp)
visit
void visit(DebugCondition c)
visit
void visit(Parameter p)

Meta