Exemplo n.º 1
0
        public bool LessEqual(IteratorState right)
        {
            var left = this;
            var res  = true;

            switch (right.IntState)
            {
            case IteratorInternalState.BOTTOM:
                res = false;
                break;

            case IteratorInternalState.TOP:
                res = true;
                break;

            default:
                res = left.IntState == right.IntState ? true : false;
                break;
            }
            return(res);
        }
Exemplo n.º 2
0
        internal IteratorState Union(IteratorState right)
        {
            var intState = Join(this.IntState, right.IntState);

            return(new IteratorState(intState));
        }
Exemplo n.º 3
0
 internal MoveNextVisitorForItStateAnalysis(IteratorStateAnalysis itAnalysis, IDictionary <IVariable, IExpression> equalitiesMap, IteratorState state)
 {
     this.State      = state;
     this.equalities = equalitiesMap;
 }