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.


Method Summary
 LocalInstance localInstance()
          Get the type object for the local.
 Local localInstance(LocalInstance li)
          Set the type object for the local.
 java.lang.String name()
          Get the name of the local variable.
 Local name(java.lang.String name)
          Set the name of the local variable.
 
Methods inherited from interface polyglot.ast.Variable
flags
 
Methods inherited from interface polyglot.ast.Expr
constantValue, isConstant, precedence, printSubExpr, printSubExpr, type
 
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
 
Methods inherited from interface polyglot.ast.Term
acceptCFG, entry, exceptions, exceptions, reachable, reachable
 

Method Detail

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.