Package com.dtrules.interpreter

Examples of com.dtrules.interpreter.IRObject.execute()


            Iterator<IRObject>  ie    =  array.getIterator();
            while(ie.hasNext()){
                state.entitypush(ie.next().rEntityValue());
                test.execute(state);
                if(state.datapop().booleanValue()){
                    body.execute(state);
                    state.entitypop();
                    return;
                }
                state.entitypop();
            }
View Full Code Here


            for(IRObject obj : array) {
                IREntity e = obj.rEntityValue();
                state.entitypush(e);
                test.execute(state);
                if(state.datapop().booleanValue()){
                    body1.execute(state);
                    state.entitypop();
                    return;
                }
                state.entitypop();
            }
View Full Code Here

            int         start     = state.datapop().intValue();
            IRObject    body      = state.datapop();
            if(increment>0){
                for(int i = start;i<limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
                    body.execute(state);
                    state.cpop();
                }
            }else{
                for(int i = start;i>limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
View Full Code Here

                    state.cpop();
                }
            }else{
                for(int i = start;i>limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
                    body.execute(state);
                    state.cpop();
                }
            }
        }
    }
View Full Code Here

            if(rps!= null) {
                for(int column : columns){
                    if(column < rps.length){
                       IRObject ps = rps[column];
                       if(ps != null){
                          ps.execute(state);
                          ps = state.datapop();
                          if(ps != RNull.getRNull()){
                              ra.add(ps);
                              if (state.testState(DTState.TRACE)) {
                                  state.traceInfo("addto", "arrayId", ra.getID() + "",
View Full Code Here

                    }
                }
                if(columns.size()==0){
                    IRObject ps = rps[0];
                    if(ps != null){
                       ps.execute(state);
                       ps = state.datapop();
                       if(ps != RNull.getRNull()){
                           ra.add(ps);
                           if (state.testState(DTState.TRACE)) {
                               state.traceInfo("addto", "arrayId", ra.getID() + "",
View Full Code Here

            Iterator<REntity> ie = (Iterator<REntity>) array.getIterator();
            while(ie.hasNext()){
                state.entitypush(ie.next());
                test.execute(state);
                if(state.datapop().booleanValue()){
                    body.execute(state);
                    state.entitypop();
                    return;
                }
                state.entitypop();
            }
View Full Code Here

            for(IRObject obj : array) {
                IREntity e = obj.rEntityValue();
                state.entitypush(e);
                test.execute(state);
                if(state.datapop().booleanValue()){
                    body1.execute(state);
                    state.entitypop();
                    return;
                }
                state.entitypop();
            }
View Full Code Here

            int         start     = state.datapop().intValue();
            IRObject    body      = state.datapop();
            if(increment>0){
                for(int i = start;i<limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
                    body.execute(state);
                    state.cpop();
                }
            }else{
                for(int i = start;i>limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
View Full Code Here

                    state.cpop();
                }
            }else{
                for(int i = start;i>limit;i+=increment){
                    state.cpush(RInteger.getRIntegerValue(i));
                    body.execute(state);
                    state.cpop();
                }
            }
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.