polyglot.types
Interface LocalInstance

All Superinterfaces:
java.lang.Cloneable, Copy, java.io.Serializable, TypeObject, VarInstance
All Known Implementing Classes:
LocalInstance_c

public interface LocalInstance
extends VarInstance

A LocalInstance contains type information for a local variable.


Method Summary
 LocalInstance constantValue(java.lang.Object value)
          Set the local's constant value.
 LocalInstance flags(Flags flags)
          Set the local's flags.
 LocalInstance name(java.lang.String name)
          Set the local's name.
 void setConstantValue(java.lang.Object value)
          Destructively set the local's constant value.
 LocalInstance type(Type type)
          Set the local's type.
 
Methods inherited from interface polyglot.types.VarInstance
constantValue, flags, isConstant, name, setFlags, setType, type
 
Methods inherited from interface polyglot.types.TypeObject
equalsImpl, isCanonical, position, typeSystem
 
Methods inherited from interface polyglot.util.Copy
copy
 

Method Detail

flags

LocalInstance flags(Flags flags)
Set the local's flags.


name

LocalInstance name(java.lang.String name)
Set the local's name.


type

LocalInstance type(Type type)
Set the local's type.


constantValue

LocalInstance constantValue(java.lang.Object value)
Set the local's constant value.


setConstantValue

void setConstantValue(java.lang.Object value)
Destructively set the local's constant value.