Ejemplo n.º 1
0
        public IncDecEx(Text.Span span, bool inc, bool post, VariableUse /*!*/ variable)
            : base(span)
        {
            this.variable = variable;

            if (inc)
            {
                this.flags |= Flags.incrementation;
            }
            if (post)
            {
                this.flags |= Flags.post;
            }
        }
Ejemplo n.º 2
0
 public RefItem(Expression index, VariableUse refToGet)
     : base(index)
 {
     Debug.Assert(refToGet != null);
     this.refToGet = refToGet;
 }
Ejemplo n.º 3
0
 public RefItem(Expression index, VariableUse refToGet)
     : base(index)
 {
     this.RefToGet = refToGet ?? throw new ArgumentNullException(nameof(refToGet));
 }
Ejemplo n.º 4
0
 public ForeachVar(VariableUse variable, bool alias)
 {
     _target = variable;
     _alias  = alias;
 }