anvil.script
Class ModuleEnvelope
java.lang.Object
|
+--anvil.script.ModuleEnvelope
- public class ModuleEnvelope
- extends java.lang.Object
class ModuleEnvelope
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_cache
protected ModuleCache _cache
_url
protected java.net.URL _url
_address
protected Address _address
_lastModified
protected long _lastModified
_descriptor
protected java.lang.String _descriptor
_script1
protected ModuleStatement _script1
_script2
protected CompiledModule _script2
_version
protected int _version
_initialized
protected boolean _initialized
ModuleEnvelope
public ModuleEnvelope(ModuleCache cache,
Address address,
InputSource source)
throws java.io.IOException,
ForgingException
ModuleEnvelope
protected ModuleEnvelope(ModuleCache cache,
Address address,
InputSource source,
int version,
boolean forceParsing)
throws java.io.IOException,
ForgingException
getLastModified
public long getLastModified()
getURL
public java.net.URL getURL()
getAddress
public Address getAddress()
getClassname
public java.lang.String getClassname()
getDescriptor
public java.lang.String getDescriptor()
getVersion
public int getVersion()
getModule
public Module getModule()
isCompiled
public boolean isCompiled()
parse
public void parse(InputSource source)
throws java.io.IOException,
ForgingException
java.io.IOException
ForgingException
forge
public ModuleEnvelope forge()
throws java.io.IOException,
ForgingException
java.io.IOException
ForgingException
importExternals
public void importExternals(ErrorListener listener)
resolve
public void resolve(Resolver resolver)
verifyPassOne
public void verifyPassOne(Verifier verifier)
verifyPassTwo
public void verifyPassTwo(Verifier verifier)
check
public void check(ErrorListener context)
compile
public void compile(Smith smith)
loadClass
public boolean loadClass()
init
public void init(ErrorListener listener)
appendWithPrefix
protected static void appendWithPrefix(java.lang.StringBuffer buffer,
int i)
addTimestamp
protected java.lang.String addTimestamp(java.lang.String mangled,
long lastModified)