cminus/submit/ast/Statement.java

19 lines
340 B
Java
Raw Normal View History

2023-04-10 11:17:11 -04:00
/*
* Code formatter project
* CS 4481
*/
package submit.ast;
import java.util.ArrayList;
/**
*
* @author edwajohn
*/
public interface Statement extends Node {
2023-04-23 02:24:42 -04:00
public static CompoundStatement empty() {
submit.SymbolTable newTable = new submit.SymbolTable();
return new CompoundStatement(new ArrayList<>(), newTable);
}
2023-04-10 11:17:11 -04:00
}