gnu.expr
public class SetExp extends AccessExp
| Field Summary | |
|---|---|
| static int | DEFINING_FLAG |
| static int | GLOBAL_FLAG |
| static int | HAS_VALUE |
| static int | PREFER_BINDING2 |
| static int | PROCEDURE |
| static int | SET_IF_UNBOUND |
| Constructor Summary | |
|---|---|
| SetExp(Object symbol, Expression val) | |
| SetExp(Declaration decl, Expression val) | |
| Method Summary | |
|---|---|
| void | apply(CallContext ctx) |
| void | compile(Compilation comp, Target target) |
| boolean | getHasValue() True if evaluating the SetExp yields the value of the RHS. |
| Expression | getNewValue() Get the Expression for calculating the new ("right-hand") value. |
| Type | getType() |
| boolean | isDefining() |
| boolean | isFuncDef() True if this is a functon definition ("defun"). |
| boolean | isSetIfUnbound() |
| static SetExp | makeDefinition(Object symbol, Expression val) |
| static SetExp | makeDefinition(Declaration decl, Expression val) |
| protected boolean | mustCompile() |
| void | print(OutPort out) |
| void | setDefining(boolean value) |
| void | setFuncDef(boolean value) |
| void | setHasValue(boolean value) |
| void | setSetIfUnbound(boolean value) |
| String | toString() |
| protected Expression | walk(ExpWalker walker) |
| protected void | walkChildren(ExpWalker walker) |