kmy.jint.compiler
Class CompilerHelper.ArrayLengthAccess

java.lang.Object
  |
  +--kmy.jint.typer.AbstractVariable
        |
        +--kmy.jint.compiler.CompilerVariable
              |
              +--kmy.jint.compiler.CompilerHelper.ArrayLengthAccess
Enclosing class:
CompilerHelper

class CompilerHelper.ArrayLengthAccess
extends CompilerVariable


Field Summary
(package private)  AbstractClass intType
           
 
Fields inherited from class kmy.jint.typer.AbstractVariable
NOT_CONST, NOTHING
 
Constructor Summary
(package private) CompilerHelper.ArrayLengthAccess(JintClassTable ct)
           
 
Method Summary
(package private)  void genGet(CodeGenerator gen, CompilerContext context)
           
(package private)  void genPut(CodeGenerator gen, CompilerContext context)
           
(package private)  AbstractClass getBase(CompilerContext context)
           
 int getFilePos()
           
 AbstractClass getType()
           
 java.lang.String toString()
           
 
Methods inherited from class kmy.jint.compiler.CompilerVariable
genInit, genRet, getRegister, setFieldMode, setRegister
 
Methods inherited from class kmy.jint.typer.AbstractVariable
dscr, getConstValue, isStatic, mustBeField
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

intType

AbstractClass intType
Constructor Detail

CompilerHelper.ArrayLengthAccess

CompilerHelper.ArrayLengthAccess(JintClassTable ct)
Method Detail

genGet

void genGet(CodeGenerator gen,
            CompilerContext context)
      throws java.io.IOException
Overrides:
genGet in class CompilerVariable

genPut

void genPut(CodeGenerator gen,
            CompilerContext context)
      throws java.io.IOException
Overrides:
genPut in class CompilerVariable

getBase

AbstractClass getBase(CompilerContext context)
Overrides:
getBase in class CompilerVariable

getFilePos

public int getFilePos()
Overrides:
getFilePos in class CompilerVariable

getType

public AbstractClass getType()
Overrides:
getType in class AbstractVariable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object