|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Catch represents one half of a try-catch
statement. Specifically, the second half.
| Method Summary | |
Block |
body()
The body of the catch block. |
Catch |
body(Block body)
Set the body of the catch block. |
Type |
catchType()
The type of the catch's formal. |
Formal |
formal()
The catch block's formal paramter. |
Catch |
formal(Formal formal)
Set the catch block's formal paramter. |
| Methods inherited from interface polyglot.ast.Term |
acceptCFG, entry, exceptions, exceptions, reachable, reachable |
| Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge, visitList |
| Methods inherited from interface polyglot.ast.JL |
init, node |
| Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren |
| Methods inherited from interface polyglot.util.Copy |
copy |
| Method Detail |
public Type catchType()
public Formal formal()
public Catch formal(Formal formal)
public Block body()
public Catch body(Block body)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||