public class OPcondtnl extends OP
chi, resID, resType, specialTypes, unwrapType| Constructor and Description | 
|---|
| OPcondtnl(java.util.Stack<OP> paramOPs)Creates conditional operator. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | compile(ClassFile cf)Called to generate the code implementing this OP. | 
| java.lang.Object | eval()Called to evaluate this node and all its sub-nodes. | 
isWidening, isWidening, narrow, typeID, typeIDObject, widenpublic OPcondtnl(java.util.Stack<OP> paramOPs) throws CompilationException
On entry the paramOPs should contain 
paramOPs - stack holding the operandsCompilationExceptionpublic void compile(ClassFile cf)
OPpublic java.lang.Object eval()
                      throws java.lang.Exception
OPUpon success this node is to be replaced by the constant node holding the returned object.
Copyright © 1998-2016 Konstantin L. Metlov All Rights Reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the JEL manual.