Class LogOp

java.lang.Object
  |
  +--Operator
        |
        +--LogOp
Direct Known Subclasses:
AndOp, OrOp

public abstract class LogOp
extends Operator


Constructor Summary
LogOp()
           
 
Method Summary
static void build(ClassFile classfile, CodeAttribute code, Expr expr, de.dhbwstuttgart.typeinference.Menge indices, boolean not, boolean ex2, boolean and, de.dhbwstuttgart.typeinference.Menge paralist)
           
 void codegen(ClassFile classfile, CodeAttribute code, Expr expr, boolean not, de.dhbwstuttgart.typeinference.Menge paralist)
           
 void if_codegen(ClassFile classfile, CodeAttribute code, boolean not, Expr expr, Statement then_block, Statement else_block, de.dhbwstuttgart.typeinference.Menge paralist)
           
 void loop_codegen(ClassFile classfile, CodeAttribute code, Expr expr, int breakpoint, boolean not, de.dhbwstuttgart.typeinference.Menge paralist)
           
static void replace_index(CodeAttribute code, de.dhbwstuttgart.typeinference.Menge indices, int else_index, int then_index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogOp

public LogOp()
Method Detail

codegen

public void codegen(ClassFile classfile,
                    CodeAttribute code,
                    Expr expr,
                    boolean not,
                    de.dhbwstuttgart.typeinference.Menge paralist)
             throws JVMCodeException
Specified by:
codegen in class Operator
JVMCodeException

if_codegen

public void if_codegen(ClassFile classfile,
                       CodeAttribute code,
                       boolean not,
                       Expr expr,
                       Statement then_block,
                       Statement else_block,
                       de.dhbwstuttgart.typeinference.Menge paralist)
                throws JVMCodeException
JVMCodeException

loop_codegen

public void loop_codegen(ClassFile classfile,
                         CodeAttribute code,
                         Expr expr,
                         int breakpoint,
                         boolean not,
                         de.dhbwstuttgart.typeinference.Menge paralist)
                  throws JVMCodeException
JVMCodeException

build

public static void build(ClassFile classfile,
                         CodeAttribute code,
                         Expr expr,
                         de.dhbwstuttgart.typeinference.Menge indices,
                         boolean not,
                         boolean ex2,
                         boolean and,
                         de.dhbwstuttgart.typeinference.Menge paralist)
                  throws JVMCodeException
JVMCodeException

replace_index

public static void replace_index(CodeAttribute code,
                                 de.dhbwstuttgart.typeinference.Menge indices,
                                 int else_index,
                                 int then_index)
                          throws JVMCodeException
JVMCodeException