org.luaj.vm2
Interface LoadState.LuaCompiler

All Known Implementing Classes:
LuaC, LuaJC
Enclosing class:
LoadState

public static interface LoadState.LuaCompiler

Interface for the compiler, if it is installed.

See the LuaClosure documentation for examples of how to use the compiler.

See Also:
LuaClosure, load(InputStream, String, LuaValue)

Method Summary
 LuaFunction load(java.io.InputStream stream, java.lang.String filename, LuaValue env)
          Load into a Closure or LuaFunction from a Stream and initializes the environment
 

Method Detail

load

LuaFunction load(java.io.InputStream stream,
                 java.lang.String filename,
                 LuaValue env)
                 throws java.io.IOException
Load into a Closure or LuaFunction from a Stream and initializes the environment

Throws:
java.io.IOException


Copyright © 2007-2008 Luaj.org. All Rights Reserved.