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