Finish chapter 6

This commit is contained in:
Michael Smith
2022-07-06 14:50:11 +02:00
parent 472a589502
commit bdf3a3db34
3 changed files with 194 additions and 6 deletions

View File

@@ -1,12 +1,13 @@
package com.craftinginterpreters.lox;
import java.util.List;
abstract class Expr {
interface Visitor<R> {
R visitBinaryExpr(Binary expr);
R visitGroupingExpr(Grouping expr);
R visitLiteralExpr(Literal expr);
R visitUnaryExpr(Unary expr);
}