def _add_variables_references(self, v):
        if hasattr(v, "children") and isinstance(v.children, list) and len(v.children) > 0:
            self._assign_variablesReference(v)
            for c in v.children:
                c.scope = v.scope
                self._add_variables_references(c)