gnu.expr
Class AccessExp
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure0
gnu.expr.Expression
gnu.expr.AccessExp
- All Implemented Interfaces:
- Named, Printable, javax.xml.transform.SourceLocator, org.xml.sax.Locator
- 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, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, eval, eval, getColumnNumber, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getSystemId, getType, inline, isStableSourceLocation, makeWhile, match0, mustCompile, print, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLocation, side_effects, toString, valueIfConstant, walk, walkChildren |
Methods inherited from class gnu.mapping.Procedure |
apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation |
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 PropertySet
getSimpleName
public final java.lang.String getSimpleName()
- Return a simple name, or null if the name has a non-empty namespace.
getSymbol
public final java.lang.Object getSymbol()
- Specified by:
getSymbol
in interface Named
- Overrides:
getSymbol
in class PropertySet
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)