summaryrefslogtreecommitdiff
path: root/submit/ast/Node.java
blob: 2eed788a97582732a1be616a1cb64324999ae963 (plain)
1
2
3
4
5
6
7
8
9
10
11
package submit.ast;

import submit.MIPSResult;
import submit.RegisterAllocator;
import submit.SymbolTable;

public interface Node {
    void toCminus(StringBuilder builder, final String prefix);

    MIPSResult toMIPS(StringBuilder code, StringBuilder data, SymbolTable symbolTable, RegisterAllocator regAllocator);
}