note description: "Assignment of a variable to another variable." author: "Bertrand Meyer" date: "$Date$" revision: "$Revision$" class SIMPLE_ASSIGNMENT inherit ASSIGNMENT create make feature -- Initialization make (x: VARIABLE; e: EXPRESSION) -- Build as representing x := e. require target_exists: x /= Void source_exists: e /= Void do target := x source := e end feature -- Status report feature -- Access target: VARIABLE -- Target of assignment. source: EXPRESSION -- Source of assignment. feature -- Basic operations update (a: ALIAS_RELATION) -- Make `a' include aliases induced by assignment. local source_aliases, target_aliases: LIST [EXPRESSION] do debug ("ASSIGNMENT") print ("<<<<