01: package net.sourceforge.jrefactory.ast;
02:
03: /**
04: * Provides methods which all scopes must implement. See JLS 6.3 for a description of scopes
05: *
06: * @author Mike Atkinson
07: * @since jRefactory 2.9.0, created October 16, 2003
08: */
09: public interface Scope {
10: /**
11: * Points this scope to its parent
12: *
13: * @param parent The new parent value
14: */
15: void setParent(Scope parent);
16:
17: /**
18: * Retrieves this scope's parent
19: *
20: * @return The parent value
21: */
22: Scope getParent();
23:
24: }
|