kmy.jint.compiler
Class CompilerVariable
java.lang.Object
|
+--kmy.jint.typer.AbstractVariable
|
+--kmy.jint.compiler.CompilerVariable
- Direct Known Subclasses:
- CompilerHelper.ArrayLengthAccess, CompilerHelper.ClassAccess, CompilerHelper.FieldAccess, CompilerHelper.Variable
- abstract class CompilerVariable
- extends AbstractVariable
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
CompilerVariable
CompilerVariable()
genGet
abstract void genGet(CodeGenerator gen,
CompilerContext context)
throws java.io.IOException
genPut
abstract void genPut(CodeGenerator gen,
CompilerContext context)
throws java.io.IOException
getBase
abstract AbstractClass getBase(CompilerContext context)
genInit
void genInit(CodeGenerator gen,
CompilerContext context)
throws java.io.IOException
- Generate variable initialization code.
setFieldMode
void setFieldMode(boolean fieldMode)
genRet
void genRet(CodeGenerator gen,
CompilerContext context)
throws java.io.IOException
setRegister
void setRegister(int reg)
getRegister
int getRegister()
getFilePos
public int getFilePos()
- Overrides:
- getFilePos in class AbstractVariable