Class LuaCompiler

java.lang.Object
se.krka.kahlua.luaj.compiler.LuaCompiler
All Implemented Interfaces:
JavaFunction

public class LuaCompiler
extends java.lang.Object
implements JavaFunction
  • Field Summary

    Fields
    Modifier and Type Field Description
    static boolean rewriteEvents  
  • Method Summary

    Modifier and Type Method Description
    int call​(LuaCallFrame luaCallFrame, int int1)  
    static LuaClosure loadis​(java.io.InputStream inputStream, java.lang.String string, KahluaTable kahluaTable)  
    static LuaClosure loadis​(java.io.Reader reader, java.lang.String string, KahluaTable kahluaTable)  
    static int loadstream​(LuaCallFrame luaCallFrame, int int1)  
    static LuaClosure loadstring​(java.lang.String string, java.lang.String string2, KahluaTable kahluaTable)  
    static void register​(KahluaTable kahluaTable)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • rewriteEvents

      public static boolean rewriteEvents
  • Method Details

    • register

      public static void register​(KahluaTable kahluaTable)
    • call

      public int call​(LuaCallFrame luaCallFrame, int int1)
      Specified by:
      call in interface JavaFunction
    • loadstream

      public static int loadstream​(LuaCallFrame luaCallFrame, int int1)
    • loadis

      public static LuaClosure loadis​(java.io.InputStream inputStream, java.lang.String string, KahluaTable kahluaTable) throws java.io.IOException
      Throws:
      java.io.IOException
    • loadis

      public static LuaClosure loadis​(java.io.Reader reader, java.lang.String string, KahluaTable kahluaTable) throws java.io.IOException
      Throws:
      java.io.IOException
    • loadstring

      public static LuaClosure loadstring​(java.lang.String string, java.lang.String string2, KahluaTable kahluaTable) throws java.io.IOException
      Throws:
      java.io.IOException