|
||||||||||
| 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.SpiceClassAction
public final class SpiceClassAction
This class implements a class action. It generates the class
object which can then be used in MillScript.
SpiceClassSyntax,
SpiceClassExpr,
SpiceClassConstructorFunction| Constructor Summary | |
|---|---|
SpiceClassAction(java.lang.String nm,
Action pa,
SlotFunction[] sf,
Action[] i)
Constructs a new class action. |
|
| 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 SpiceClassAction(java.lang.String nm,
Action pa,
SlotFunction[] sf,
Action[] i)
class action.
nm - the name of the class we are definingpa - the action for the parent Spice classsf - an array of slot accessor functionsi - an array of slot inital value actions| 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 | |||||||||