gnu.expr

Class AccessExp

public abstract class AccessExp extends Expression

A common super-type for ReferenceExpa and SetExp. Contains shared information about the variable that is accessed.
Method Summary
DeclarationcontextDecl()
DeclarationgetBinding()
If non-null, the local Declaration this refers to.
StringgetName()
StringgetSimpleName()
Return a simple name, or null if the name has a non-empty namespace.
ObjectgetSymbol()
voidsetBinding(Declaration decl)
voidsetContextDecl(Declaration decl)
Stringstring_name()

Method Detail

contextDecl

public final Declaration contextDecl()

getBinding

public final Declaration getBinding()
If non-null, the local Declaration this refers to.

getName

public final String getName()

getSimpleName

public final String getSimpleName()
Return a simple name, or null if the name has a non-empty namespace.

getSymbol

public final Object getSymbol()

setBinding

public final void setBinding(Declaration decl)

setContextDecl

public final void setContextDecl(Declaration decl)

string_name

public String string_name()