Resolving and Binding 11

This commit is contained in:
nazrin 2025-06-02 16:04:04 +00:00
parent a1acefab0e
commit 52a7b73a9e
14 changed files with 263 additions and 22 deletions

View file

@ -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(){