Java Code Examples for com.sun.org.apache.xalan.internal.xsltc.compiler.util.NumberType

Following code examples demonstrate how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.NumberTypefrom java. These examples are extracted from various highly rated open source projects. You can directly use these code snippets or view their entire linked source code. These snippets are extracted to provide contextual information about how to use this class in the real world. These samples also let you understand some good practices on how to use com.sun.org.apache.xalan.internal.xsltc.compiler.util.NumberTypeand various code implementation of this class.

        else if (tleft instanceof NumberType) {
            _left.translate(classGen, methodGen);
            _right.translate(classGen, methodGen);

            if (tleft instanceof RealType) {
                il.append(DCMPG);
        _falseList.add(il.append(_op == Operators.EQ ?
                                         (BranchInstruction)new IFNE(null) :
                                         (BranchInstruction)new IFEQ(null)));
            }
            else {
            _falseList.add(il.append(_op == Operators.EQ ?
                                         (BranchInstruction)new IF_ICMPNE(null) :
                                         (BranchInstruction)new IF_ICMPEQ(null)));
            }
        } 


Advertisement
Javadoc
@author Jacek Ambroziak @author Santiago Pericas-Geertsen
Advertisement