public SemanticAnalyzer(List <StatementNode> AST) { this.AST = AST; this.symbolTable = new SymbolTable(); this.errors = new List <Error>(); }
object IVisitor <object> .visit(IdNode node) { return(SymbolTable.lookup(node.value)); }