indexing description: "AST representation of manifest tuple." date: "$Date$" revision: "$Revision$" class TUPLE_AS inherit EXPR_AS redefine is_equivalent end create initialize feature {NONE} -- Initialization initialize (exp: like expressions) is -- Create a new Manifest TUPLE AST node. require exp_not_void: exp /= Void do expressions := exp ensure expressions_set: expressions = exp end feature -- Attributes expressions: EIFFEL_LIST [EXPR_AS] -- Expression list symbolizing the manifest tuple feature -- Location start_location: LOCATION_AS is -- Starting point for current construct. do Result := expressions.start_location end end_location: LOCATION_AS is -- Ending point for current construct. do Result := expressions.end_location end feature -- Visitor process (v: AST_VISITOR) is -- process current element. do v.process_tuple_as (Current) end feature -- Comparison is_equivalent (other: like Current): BOOLEAN is -- Is `other' equivalent to the current object ? do Result := equivalent (expressions, other.expressions) end feature {AST_EIFFEL} -- Output string_value: STRING is "" invariant expressions_not_void: expressions /= Void end -- class TUPLE_AS