|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.action.Action
org.millscript.millscript.action.SpiceClassInitAction
public final class SpiceClassInitAction
This class implements the action used when initialising a class. This action returns a new function which can then be bound to the relevant variable.
SpiceClassInitExpr,
DefineSyntax| Constructor Summary | |
|---|---|
SpiceClassInitAction(Action sc,
Action mf)
Constructs a new init action, using the specified actions to obtain the type we are initialising and associated initialiser. |
|
| Method Summary | |
|---|---|
void |
action(Machine mc)
Performs this action, on the specified machine. |
| Methods inherited from class org.millscript.millscript.action.Action |
|---|
act, act1, getLineNumber, getOrigin, predAct, setContext, setLineNumber, setOrigin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpiceClassInitAction(Action sc,
Action mf)
sc - the action that generates the Spice class we are
initialisingmf - the action, which generates the Function for the
initialiser body| Method Detail |
|---|
public void action(Machine mc)
Action
action in class Actionmc - the machine to perform this action onAction.action(org.millscript.millscript.vm.Machine)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||