Package gnu.expr
Class AccessExp
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.expr.Expression
gnu.expr.AccessExp
- All Implemented Interfaces:
gnu.kawa.format.Printable
,Named
,SourceLocator
,SourceLocator
,Locator
- Direct Known Subclasses:
ReferenceExp
,SetExp
A common super-type for ReferenceExpa and SetExp.
Contains shared information about the variable that is accessed.
-
Nested Class Summary
Nested classes/interfaces inherited from interface gnu.text.SourceLocator
SourceLocator.Simple
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
Prefer the function binding rather than the value binding.Fields inherited from class gnu.expr.Expression
applyMethodExpression, flags, noExpressions, type, VALIDATED
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Declaration
final Declaration
If non-null, the local Declaration this refers to.final String
getName()
final String
Return a simple name, or null if the name has a non-empty namespace.final Object
final void
setBinding
(Declaration decl) final void
setContextDecl
(Declaration decl) Methods inherited from class gnu.expr.Expression
apply, applyMethodExpression, calculateType, checkLiteralKeyword, compile, compile, compile, compileWithPosition, compileWithPosition, deepCopy, deepCopy, deepCopy, deepCopy, eval, eval, getColumnNumber, getEndColumn, getEndLine, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getStartColumn, getStartLine, getSystemId, getType, getTypeRaw, isSingleValue, isStableSourceLocation, makeWhile, maybeSetLine, mustCompile, neverReturns, numArgs, print, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLine, setLocation, setType, side_effects, toString, validateApply, valueIfConstant, visit, visitChildren
Methods inherited from class gnu.mapping.Procedure
apply0, apply1, apply2, apply3, apply4, applyL, applyN, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation
Methods inherited from class gnu.mapping.PropertySet
getProperty, removeProperty, setName, setProperty, setProperty, setSymbol
-
Field Details
-
PREFER_BINDING2
public static final int PREFER_BINDING2Prefer the function binding rather than the value binding. This applies to languages like Common Lisp (and Java) that have separate namespaces for values/fields and functions/methods.- See Also:
-
NEXT_AVAIL_FLAG
public static final int NEXT_AVAIL_FLAG- See Also:
-
-
Constructor Details
-
AccessExp
public AccessExp()
-
-
Method Details
-
string_name
-
getName
- Specified by:
getName
in interfaceNamed
- Overrides:
getName
in classPropertySet
-
getSimpleName
Return a simple name, or null if the name has a non-empty namespace. -
getSymbol
- Specified by:
getSymbol
in interfaceNamed
- Overrides:
getSymbol
in classPropertySet
-
getBinding
If non-null, the local Declaration this refers to. -
setBinding
-
contextDecl
-
setContextDecl
-