polyglot.ast
Interface Local
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, JL, Node, NodeOps, Prefix, Receiver, Term, Typed, Variable
- All Known Implementing Classes:
- Local_c
public interface Local
- extends Variable
A local variable expression.
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 |
name
java.lang.String name()
- Get the name of the local variable.
name
Local name(java.lang.String name)
- Set the name of the local variable.
localInstance
LocalInstance localInstance()
- Get the type object for the local. This field may not be valid until
after type checking.
localInstance
Local localInstance(LocalInstance li)
- Set the type object for the local.