Class LocVars

java.lang.Object
com.prineside.luaj.LocVars
All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable

public class LocVars extends Object implements com.esotericsoftware.kryo.KryoSerializable
Data class to hold debug information relating to local variables for a Prototype
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    The instruction offset when the variable goes out of scope
    int
    The instruction offset when the variable comes into scope
    The local variable name
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocVars(LuaString varname, int startpc, int endpc)
    Construct a LocVars instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
     
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
     

    Methods inherited from class java.lang.Object

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

    • varname

      public LuaString varname
      The local variable name
    • startpc

      public int startpc
      The instruction offset when the variable comes into scope
    • endpc

      public int endpc
      The instruction offset when the variable goes out of scope
  • Constructor Details

    • LocVars

      public LocVars(LuaString varname, int startpc, int endpc)
      Construct a LocVars instance.
      Parameters:
      varname - The local variable name
      startpc - The instruction offset when the variable comes into scope
      endpc - The instruction offset when the variable goes out of scope
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output)
      Specified by:
      write in interface com.esotericsoftware.kryo.KryoSerializable
    • read

      public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input)
      Specified by:
      read in interface com.esotericsoftware.kryo.KryoSerializable
    • tojstring

      public String tojstring()