|
||||||||||
| 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.MethodOverrideAction
public final class MethodOverrideAction
This class implements the action used when defining a new method. This action returns a new many body function which can then be bound to the relevant variable.
MethodExpr,
DefineSyntax| Constructor Summary | |
|---|---|
MethodOverrideAction(Action mba,
Action sc,
Action mfa)
Constructs a new method override action, to introduce a method override for the specified method, using the specified dispatch type and body |
|
| 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 MethodOverrideAction(Action mba,
Action sc,
Action mfa)
mba - the action that generates the ManyBodyFunction we are
adding an override tosc - the action that generates the enclosing Spice class to
dispatch onmfa - the action that generates the Function for the new
overrides 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 | |||||||||