summaryrefslogtreecommitdiff
path: root/submit/ast/Statement.java
blob: 2daeb9d19f3b31d94d9a21aa0fd0970b044cbd31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Code formatter project
 * CS 4481
 */
package submit.ast;

import java.util.ArrayList;

/**
 *
 * @author edwajohn
 */
public interface Statement extends Node {
  public static CompoundStatement empty() {
    submit.SymbolTable newTable = new submit.SymbolTable();
    return new CompoundStatement(new ArrayList<>(), newTable);
  }
}