dil.ast.DefaultVisitor

Members

Classes

DefaultVisitor
class DefaultVisitor

This class provides default methods for traversing nodes and their subnodes.

DefaultVisitor2
class DefaultVisitor2

This class provides default methods for traversing nodes and their subnodes.

Functions

generateDefaultVisitMethods
char[] generateDefaultVisitMethods()

Generates the default visit methods.

generateDefaultVisitMethods2
char[] generateDefaultVisitMethods2()

Same as above but returns void.

Mixin templates

visitDefault
mixin template visitDefault(N, Ret = returnType!(N))

Provides a visit() method which calls Visitor.visitN() on subnodes.

Meta

Authors

Aziz Köksal

License

GPL3 $(Maturity very high)