polyglot.ast
Interface Throw

All Superinterfaces:
java.lang.Cloneable, Copy, JL, Node, NodeOps, Stmt, Term
All Known Implementing Classes:
Throw_c

public interface Throw
extends Stmt

A Throw is an immutable representation of a throw statement. Such a statement contains a single Expr which evaluates to the object being thrown.


Method Summary
 Expr expr()
           
 Throw expr(Expr expr)
           
 
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

expr

Expr expr()

expr

Throw expr(Expr expr)