public Checker(SymbolTable symbols, AST.Program program) { _symbols = symbols; _program = program; // create the standard set of predefined identifiers that Triangle defines CreateStandardEnvironment(); // start walking the AST from the topmost node _program.visit(this); }
public CodeGen(SymbolTable symbols, AST.Program program) { _symbols = symbols; _program = program; _program.visit(this); }