Package com.prineside.luaj
Class FPrototype
java.lang.Object
com.prineside.luaj.FPrototype
A "baked" or fixed prototype definition, stores immutable data and everything is final for performance.
 Can be obtained from the regular Prototype.
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int[]final booleanfinal LuaValue[]final shortfinal shortfinal short[]final LocVars[]final bytefinal bytefinal FPrototype[]final LuaStringfinal Upvaldesc[] - 
Constructor Summary
ConstructorsConstructorDescriptionFPrototype(LuaValue[] k, int[] code, FPrototype[] p, short[] lineinfo, LocVars[] locvars, Upvaldesc[] upvalues, LuaString source, short linedefined, short lastlinedefined, byte numparams, boolean is_vararg, byte maxstacksize)  - 
Method Summary
Modifier and TypeMethodDescriptiongetlocalname(int number, int pc) Get the name of a local variable.toString() 
- 
Field Details
- 
k
 - 
code
public final int[] code - 
p
 - 
lineinfo
public final short[] lineinfo - 
locvars
 - 
upvalues
 - 
source
 - 
linedefined
public final short linedefined - 
lastlinedefined
public final short lastlinedefined - 
numparams
public final byte numparams - 
is_vararg
public final boolean is_vararg - 
maxstacksize
public final byte maxstacksize 
 - 
 - 
Constructor Details
- 
FPrototype
public FPrototype(LuaValue[] k, int[] code, FPrototype[] p, short[] lineinfo, LocVars[] locvars, Upvaldesc[] upvalues, LuaString source, short linedefined, short lastlinedefined, byte numparams, boolean is_vararg, byte maxstacksize)  
 - 
 - 
Method Details