Package cn.wensiqun.asmsupport.operators.numerical.arithmetic

Examples of cn.wensiqun.asmsupport.operators.numerical.arithmetic.AbstractArithmetic


        if(factor instanceof GlobalVariable ||
           ((ftrcls.getCastOrder() <= AClass.BOOLEAN_ACLASS.getCastOrder() ||
            ftrcls.getCastOrder() > AClass.INT_ACLASS.getCastOrder()) &&
            factor instanceof LocalVariable)){
           
          AbstractArithmetic arithOperator = OperatorFactory.newOperator(Addition.class,
                new Class<?>[]{ProgramBlock.class, Parameterized.class, Parameterized.class},
                block, factor, getValue());
           
            arithOperator.prepare();
           
            MemberVariable mvar = (MemberVariable) factor;
            assigner = block.assign(mvar, arithOperator);
           
            assigner.prepare();
View Full Code Here


        AClass ftrcls = factor.getParamterizedType();
        if(factor instanceof GlobalVariable ||
          ((ftrcls.getCastOrder() <= AClass.BOOLEAN_ACLASS.getCastOrder() ||
           ftrcls.getCastOrder() > AClass.INT_ACLASS.getCastOrder()) &&
           factor instanceof LocalVariable)){
            AbstractArithmetic arithOperator = OperatorFactory.newOperator(Subtraction.class,
                new Class<?>[]{ProgramBlock.class, Parameterized.class, Parameterized.class},
                block, factor, getValue());
           
            arithOperator.prepare();
           
            MemberVariable mvar = (MemberVariable) factor;
            assigner = block.assign(mvar, arithOperator);
           
            assigner.prepare();
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.operators.numerical.arithmetic.AbstractArithmetic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.