Class LocVars

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

public final class LocVars extends Object implements KryoSerializable
Data class to hold debug information relating to local variables for a Prototype
  • 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