Visitor for `Variable` AST node.

def visit_Variable(self, node):
        """Visitor for `Variable` AST node."""
        var_name = node.identifier.name
        var_symbol = self.table[var_name]

        if var_symbol is None:
            raise SementicError(f"Variable `{var_name}` is not declared.")