Resolving and Binding 11
This commit is contained in:
parent
a1acefab0e
commit
52a7b73a9e
14 changed files with 263 additions and 22 deletions
|
|
@ -21,7 +21,7 @@ abstract class Expr{
|
|||
R visit(Unary expr);
|
||||
R visit(Variable expr);
|
||||
}
|
||||
private alias rTypes = AliasSeq!(string, TValue);
|
||||
private alias rTypes = AliasSeq!(string, TValue, void);
|
||||
static foreach(T; rTypes)
|
||||
abstract T accept(Visitor!T visitor);
|
||||
private template defCtorAndAccept(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue