|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This type represents (in the AST) full-package import statements,
with an asterisk. For example, import java.util.*;.
| Method Summary | |
void |
accept(MjcVisitor p)
Accepts the specified visitor |
String |
getName()
Returns the package name defined by this declaration. |
void |
setClassUsed(String clazz)
States that specified class in imported package is used. |
void |
typecheck(Main compiler,
JPackageName pack)
Checks the use of package import statements. |
| Method Detail |
public String getName()
public void setClassUsed(String clazz)
clazz - the class that is used.
public void typecheck(Main compiler,
JPackageName pack)
compiler - the compiler calling this methodpack - the name of the package being imported public void accept(MjcVisitor p)
p - the visitor
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||