org.luaj.vm
Class LPrototype

java.lang.Object
  extended by org.luaj.vm.LPrototype

public class LPrototype
extends java.lang.Object


Field Summary
 int[] code
           
 int is_vararg
           
 LValue[] k
           
 int lastlinedefined
           
 int linedefined
           
 int[] lineinfo
           
 LocVars[] locvars
           
 int maxstacksize
           
 int numparams
           
 int nups
           
 LPrototype[] p
           
 LString source
           
 LString[] upvalues
           
 
Constructor Summary
LPrototype()
           
 
Method Summary
 LString getlocalname(int number, int pc)
          Get the name of a local variable.
 LClosure newClosure(LTable env)
           
 java.lang.String sourceshort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

k

public LValue[] k

code

public int[] code

p

public LPrototype[] p

lineinfo

public int[] lineinfo

locvars

public LocVars[] locvars

upvalues

public LString[] upvalues

source

public LString source

nups

public int nups

linedefined

public int linedefined

lastlinedefined

public int lastlinedefined

numparams

public int numparams

is_vararg

public int is_vararg

maxstacksize

public int maxstacksize
Constructor Detail

LPrototype

public LPrototype()
Method Detail

newClosure

public LClosure newClosure(LTable env)

getlocalname

public LString getlocalname(int number,
                            int pc)
Get the name of a local variable.

Parameters:
number - the local variable number to look up
pc - the program counter
Returns:
the name, or null if not found

sourceshort

public java.lang.String sourceshort()


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