KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ext > coffer > ast > ThrowConstraintNode


1 package polyglot.ext.coffer.ast;
2
3 import polyglot.ast.*;
4 import polyglot.ext.coffer.types.*;
5
6 /**
7  * An AST node for an exception throw declaration annotated with a key set.
8  */

9 public interface ThrowConstraintNode extends Node {
10     TypeNode type();
11     KeySetNode keys();
12     ThrowConstraint constraint();
13
14     ThrowConstraintNode type(TypeNode type);
15     ThrowConstraintNode keys(KeySetNode keys);
16     ThrowConstraintNode constraint(ThrowConstraint constraint);
17 }
18
Popular Tags