slime.absynt
Class Assign

java.lang.Object
  extended byslime.absynt.Absynt
      extended byslime.absynt.Stmt
          extended byslime.absynt.Assign
All Implemented Interfaces:
java.io.Serializable

public class Assign
extends Stmt
implements java.io.Serializable

An assignment-statement as part of the simple assignment language

Version:
$Id: Assign.java,v 1.4 2002/06/25 08:01:17 swprakt Exp $
Author:
Initially provided by Martin Steffen.
See Also:
Serialized Form

Field Summary
 Expr val
           
 Variable var
           
 
Fields inherited from class slime.absynt.Absynt
pos
 
Constructor Summary
Assign(Variable x, Expr e)
           
 
Method Summary
 java.lang.Object accept(Visitors.IStmt ask)
          visitor acceptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

var

public Variable var

val

public Expr val
Constructor Detail

Assign

public Assign(Variable x,
              Expr e)
Method Detail

accept

public java.lang.Object accept(Visitors.IStmt ask)
                        throws java.lang.Exception
visitor acceptor

Overrides:
accept in class Stmt
Throws:
java.lang.Exception