def visitScope(self, scope):
        environment = Environment()
        for identifier in scope.symbol_table:
            val = scope.symbol_table[identifier]

            if isinstance(val, Variable):
                box = val.st_visit(self)
                environment.insert(identifier, box)
        return environment
    def visit_scope(self, scope):
        """Create box for scope."""
        env = Environment()
        for key in scope.table:
            val = scope.table[key]

            if not isinstance(val, Variable):
                # Do not store constants or types in env
                continue
            else:
                box = val.accept(self)
                env.insert(key, box)

        return env