TArgMangler

Mangles expressions used as template arguments.

class TArgMangler : Visitor2 {
Diagnostics diag;
string filePath;
}

Members

Functions

error
void error(Token* tok, MID mid, ...)

Issues an error message.

Variables

text
char[] text;

The mangled text.

Inherited Members

From Visitor2

dispatch
void dispatch(Node n)

Calls the appropriate visit() method for a node.

dispatch
void dispatch(Node n, NodeKind k)

Allows calling the visit() method with a null node.

unhandled
void unhandled(Node n)

Called by visit() methods that were not overridden.

Meta