gnu.expr
Class AccessExp
java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure0
gnu.expr.Expression
gnu.expr.AccessExp
- All Implemented Interfaces:
- Named, Printable
- Direct Known Subclasses:
- ReferenceExp, SetExp
public abstract class AccessExp
- extends Expression
A common super-type for ReferenceExpa and SetExp.
Contains shared information about the variable that is accessed.
Methods inherited from class gnu.expr.Expression |
apply, apply0, compile, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, eval, eval, getColumn, getFile, getFlag, getFlags, getLine, getType, makeWhile, match0, print, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, walk, walkChildren |
Methods inherited from class gnu.mapping.Procedure |
apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getProperty, getSetter, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AccessExp
public AccessExp()
string_name
public java.lang.String string_name()
getName
public final java.lang.String getName()
- Specified by:
getName
in interface Named
- Overrides:
getName
in class Procedure
getSymbol
public final java.lang.Object getSymbol()
- Specified by:
getSymbol
in interface Named
- Overrides:
getSymbol
in class Procedure
getBinding
public final Declaration getBinding()
- If non-null, the local Declaration this refers to.
setBinding
public final void setBinding(Declaration decl)
contextDecl
public final Declaration contextDecl()
setContextDecl
public final void setContextDecl(Declaration decl)