polyglot.ast
Interface Instanceof
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, JL, Node, NodeOps, Prefix, Receiver, Term, Typed
- All Known Implementing Classes:
- Instanceof_c
public interface Instanceof
- extends Expr
An Instanceof
is an immutable representation of
the use of the instanceof
operator.
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 |
Methods inherited from interface polyglot.ast.Typed |
type |
expr
Expr expr()
- Get the expression to check.
expr
Instanceof expr(Expr expr)
- Set the expression to check.
compareType
TypeNode compareType()
- Get the type to compare against.
compareType
Instanceof compareType(TypeNode compareType)
- Set the type to compare against.