public void define(Symbol sym) { getMembers().put(sym.name, sym); sym.scope = this; // track the scope in each symbol }