|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.loaders.Loader
org.millscript.millscript.loaders.ValueLoader
org.millscript.millscript.loaders.ExprLoader
public abstract class ExprLoader
This is the base class of all single expression loaders in MillScript. An
expression loader compiles the contents of the file as a single expression,
which does not make any bindings. e.g. a MillScript fun object,
or a string.
| Field Summary |
|---|
| Fields inherited from class org.millscript.millscript.loaders.Loader |
|---|
entry, pack, symbol |
| Constructor Summary | |
|---|---|
ExprLoader()
|
|
| Method Summary | |
|---|---|
abstract Expr |
loadExpr()
Causes this loader to load it's expression. |
java.lang.Object |
loadValue()
Causes this loader to load it's value. |
| Methods inherited from class org.millscript.millscript.loaders.ValueLoader |
|---|
loadBindings |
| Methods inherited from class org.millscript.millscript.loaders.Loader |
|---|
getInstance, getLineNumber, getOrigin, getSymbol, newLoader, setContext, setLineNumber, setLoader, setOrigin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExprLoader()
| Method Detail |
|---|
public abstract Expr loadExpr()
throws java.io.IOException
java.io.IOException - if something goes wrong reading from the source
public java.lang.Object loadValue()
throws java.io.IOException
Loader
loadValue in class Loaderjava.io.IOException - if something goes wrong reading from the sourceLoader.loadValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||