slime.absynt
Class Declaration

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

public class Declaration
extends Absynt
implements java.io.Serializable

Declaration of a variables.

Version:
$Id: Declaration.java,v 1.4 2002/06/25 04:45:12 swprakt Exp $
Author:
Initially provided by Karsten Stahl.
See Also:
Serialized Form

Field Summary
 Type type
           
 Constval val
           
 Variable var
           
 
Fields inherited from class slime.absynt.Absynt
pos
 
Constructor Summary
Declaration(Variable _var, Type _type, Constval _val)
           
 
Method Summary
 java.lang.Object accept(Visitors.IDeclaration 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

type

public Type type

val

public Constval val
Constructor Detail

Declaration

public Declaration(Variable _var,
                   Type _type,
                   Constval _val)
Method Detail

accept

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

Throws:
java.lang.Exception