Merged in PA1

This commit is contained in:
Sanjar Ahmadov
2021-03-23 19:24:50 -04:00
187 changed files with 10820 additions and 0 deletions
@@ -5,6 +5,7 @@ import java_cup.runtime.ComplexSymbolFactory.Location;
import java.util.List;
/** Indefinite repetition construct. */
public class WhileStmt extends Stmt {
/** Test for whether to continue. */
@@ -19,7 +20,9 @@ public class WhileStmt extends Stmt {
this.body = body;
}
public <T> T dispatch(NodeAnalyzer<T> analyzer) {
return analyzer.analyze(this);
}
}