scale.clef.decl
Class ExceptionDecl

java.lang.Object
  |
  +--scale.common.Root
        |
        +--scale.clef.Node
              |
              +--scale.clef.decl.Declaration
                    |
                    +--scale.clef.decl.ExceptionDecl
All Implemented Interfaces:
AnnotationInterface, DisplayNode, java.io.Serializable

public class ExceptionDecl
extends Declaration

This class represents the declaration of an exception.

$Id: ExceptionDecl.java,v 1.21 2002/01/03 21:42:43 burrill Exp $

Copyright 2002 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.

See Also:
Serialized Form

Fields inherited from class scale.clef.decl.Declaration
accessibilities, cAuto, cExtern, cFile, cGlobal, cLocal, cMemory, cPrivate, cProtected, cPublic, cRegister, residencies, visibilitys
 
Fields inherited from interface scale.common.DisplayNode
ANNO, CLEF, DD, DEFUSE, DOM, EXPR, MAYUSE, TYPE
 
Constructor Summary
ExceptionDecl(java.lang.String n, Type t)
          The type parameter is the type of the parameter to the exception.
 
Method Summary
 void visit(Predicate p)
          The visit() method is used to implement a visit 'pattern'.
 
Methods inherited from class scale.clef.decl.Declaration
accessibility, addressTaken, DDname, finalize, getConstantValue, getCoreType, getDecl, getDisplayColorHint, getDisplayShapeHint, getDisplayText, getName, getParent, getScope, getScopeNode, getTag, getType, hashCode, inMemory, isFtnResultVar, isGlobal, isPure, isReferenced, isTemporary, isVariable, isVirtual, number, residency, setAccessibility, setAddressTaken, setChildParent, setName, setParent, setReferenced, setResidency, setScope, setTag, setType, setVisibility, toStringSpecial, visibility
 
Methods inherited from class scale.clef.Node
createChildren, getChildren, setAnnotationLevel, setReportLevel, toString, toString, toStringChildren
 
Methods inherited from class scale.common.Root
addAnnotation, allAnnotations, allMatchingAnnotations, getAnnotation, getDisplayName, getDisplayString, getNodeCount, getNodeID, hasAnnotation, hasEqualAnnotation, removeAnnotation, removeAnnotations, toStringAnnotations, toStringClass
 
Methods inherited from class java.lang.Object
clone, equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionDecl

public ExceptionDecl(java.lang.String n,
                     Type t)
The type parameter is the type of the parameter to the exception. This reuses the type field because the exception has no type.
Method Detail

visit

public void visit(Predicate p)
Description copied from class: Node
The visit() method is used to implement a visit 'pattern'.
Overrides:
visit in class Declaration