org.millscript.millscript.loaders
Class MillScriptLoader

java.lang.Object
  extended by org.millscript.millscript.loaders.Loader
      extended by org.millscript.millscript.loaders.BindingsLoader
          extended by org.millscript.millscript.loaders.MillScriptLoader
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class MillScriptLoader
extends BindingsLoader

This class implements the MillScript file loader. The specified source is passed to a new Parser to compile the contents of the file into the package registered with this loader.


Field Summary
 
Fields inherited from class org.millscript.millscript.loaders.Loader
entry, pack, symbol
 
Constructor Summary
MillScriptLoader()
           
 
Method Summary
 void loadBindings()
          Causes this loader to load it's bindings.
 
Methods inherited from class org.millscript.millscript.loaders.BindingsLoader
loadValue
 
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

MillScriptLoader

public MillScriptLoader()
Method Detail

loadBindings

public void loadBindings()
Description copied from class: Loader
Causes this loader to load it's bindings. This will usually trigger the loader to load it's value, then compile it into the package.

Specified by:
loadBindings in class Loader
See Also:
Loader.loadBindings()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.