|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.datatypes.SpiceClass
public final class SpiceClass
This class represents a Spice class.
| Constructor Summary | |
|---|---|
SpiceClass(java.lang.String n,
SpiceClass p,
SlotFunction[] sf,
Action[] siv)
Constructs a new SpiceClass with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this class. |
SpiceClass |
getParentSpiceClass()
Returns the parent Spice class that this class inherits from. |
void |
initialiseSlots(SpiceObject protoObject,
Machine mc)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpiceClass(java.lang.String n,
SpiceClass p,
SlotFunction[] sf,
Action[] siv)
n - the name of this classp - the parent Spice class, if anysiv - an array of slot initial value actions| Method Detail |
|---|
public void initialiseSlots(SpiceObject protoObject,
Machine mc)
Action.action(org.millscript.millscript.vm.Machine)public java.lang.String getName()
public SpiceClass getParentSpiceClass()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||