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, java.util.Vector indices, boolean not, boolean ex2, boolean and, java.util.Vector paralist)
           
 void codegen(ClassFile classfile, CodeAttribute code, Expr expr, boolean not, java.util.Vector paralist)
           
 void if_codegen(ClassFile classfile, CodeAttribute code, boolean not, Expr expr, Statement then_block, Statement else_block, java.util.Vector paralist)
           
 void loop_codegen(ClassFile classfile, CodeAttribute code, Expr expr, int breakpoint, boolean not, java.util.Vector paralist)
           
static void replace_index(CodeAttribute code, java.util.Vector 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,
                    java.util.Vector 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,
                       java.util.Vector paralist)
                throws JVMCodeException
JVMCodeException

loop_codegen


public void loop_codegen(ClassFile classfile,
                         CodeAttribute code,
                         Expr expr,
                         int breakpoint,
                         boolean not,
                         java.util.Vector paralist)
                  throws JVMCodeException
JVMCodeException

build


public static void build(ClassFile classfile,
                         CodeAttribute code,
                         Expr expr,
                         java.util.Vector indices,
                         boolean not,
                         boolean ex2,
                         boolean and,
                         java.util.Vector paralist)
                  throws JVMCodeException
JVMCodeException

replace_index


public static void replace_index(CodeAttribute code,
                                 java.util.Vector indices,
                                 int else_index,
                                 int then_index)
                          throws JVMCodeException
JVMCodeException