Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
public class SetExp
extends AccessExp
Field Summary | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int |
Fields inherited from class gnu.expr.Expression | |
NEXT_AVAIL_FLAG , flags , noExpressions |
Constructor Summary | |
| |
|
Method Summary | |
void |
|
Object |
|
boolean |
|
Expression |
|
Type |
|
boolean | |
boolean |
|
boolean | |
void | |
void |
|
void |
|
void |
|
void |
|
String |
|
protected Expression | |
protected void |
|
Methods inherited from class gnu.expr.AccessExp | |
contextDecl , getBinding , getName , getSymbol , setBinding , setContextDecl , string_name |
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.Procedure0 | |
apply0 , apply1 , apply2 , apply3 , apply4 , applyN , numArgs |
Methods inherited from class gnu.mapping.Procedure | |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getName , getProperty , getSetter , getSymbol , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , name , numArgs , removeProperty , set0 , set1 , setN , setName , setProperty , setProperty , setSetter , setSymbol , toString |
public static final int DEFINING_FLAG
- Field Value:
- 1
public static final int GLOBAL_FLAG
- Field Value:
- 2
public static final int HAS_VALUE
- Field Value:
- 32
public static final int PREFER_BINDING2
- Field Value:
- 4
public static final int PROCEDURE
- Field Value:
- 8
public static final int SET_IF_UNBOUND
- Field Value:
- 16
public void compile(Compilation comp, Target target)
- Overrides:
- compile in interface Expression
public final boolean getHasValue()
True if evaluating the SetExp yields the value of the RHS.
public final Expression getNewValue()
Get the Expression for calculating the new ("right-hand") value.
public final Type getType()
Return the Type used to represent the values of this Expression.
- Overrides:
- getType in interface Expression
public final boolean isDefining()
public final boolean isFuncDef()
True if this is a functon definition ("defun").
public final boolean isSetIfUnbound()
public final void setDefining(boolean value)
public final void setFuncDef(boolean value)
public final void setHasValue(boolean value)
public final void setSetIfUnbound(boolean value)
protected void walkChildren(ExpWalker walker)
- Overrides:
- walkChildren in interface Expression