jltools.ast
Interface Field

All Superinterfaces:
java.lang.Cloneable, Copy, Expr, Node, Prefix, Receiver, java.io.Serializable, Typed
All Known Implementing Classes:
Field_c

public interface Field
extends Expr

A Field is an immutable representation of a Java field access. It consists of field name and may also have either a Type or an Expr containing the field being accessed.


Method Summary
 FieldInstance fieldInstance()
           
 Field fieldInstance(FieldInstance fi)
           
 java.lang.String name()
           
 Field name(java.lang.String name)
           
 Receiver target()
           
 Field target(Receiver target)
           
 
Methods inherited from interface jltools.ast.Expr
precedence, type
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 
Methods inherited from interface jltools.ast.Typed
type
 

Method Detail

fieldInstance

public FieldInstance fieldInstance()

fieldInstance

public Field fieldInstance(FieldInstance fi)

target

public Receiver target()

target

public Field target(Receiver target)

name

public java.lang.String name()

name

public Field name(java.lang.String name)