|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.vm.Engine
org.millscript.millscript.vm.StandardEngine
public class StandardEngine
This class represents a standard MillScript Engine. A standard enigne differs in that every package created by it will always have a standard package automatically imported. This allows us to define the standard MillScript variables within this package.
| Constructor Summary | |
|---|---|
StandardEngine(Configuration config)
Constructs a new standard engine. |
|
| Method Summary | |
|---|---|
Package |
getStandardPackage()
|
Package |
newPackage(java.lang.String fqn)
Returns a package for the specified fully qualified name and nick-name. |
void |
setStandardPackage(Package pack)
|
| Methods inherited from class org.millscript.millscript.vm.Engine |
|---|
addInventory, addLoader, addPackage, callBinary0, callBinary1, callNullary0, callNullary1, callTrinary0, callTrinary1, callUnary0, callUnary1, fetchPackage, getConfig, getMachine, getPackage, newFunctionCall, newFunctionCall, newFunctionCall |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardEngine(Configuration config)
config - the configuration for this standard engine| Method Detail |
|---|
public Package newPackage(java.lang.String fqn)
Engine
newPackage in class Enginefqn - the fully qualified name for the new package.
Engine.newPackage(java.lang.String)public Package getStandardPackage()
public void setStandardPackage(Package pack)
pack - The standardPackage to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||