예제 #1
0
        private iterator Parse_iterator()
        {
            if (_index >= _tokens.Count())
            {
                return(null);
            }                                               // must be first line on any atom


            var _data   = _tokens[_index];
            var _result = new iterator(_data);


            if (_result.is_iterator)
            {
                _index++;
                return(_result);
            }
            else
            {
                return(null);
            }
        }
예제 #2
0
 public factor(iterator _iterator)
 {
     iterator   = _iterator;
     expression = iterator.expression;
 }