Exemple #1
0
 public override void Accept(ILiteralVisitor visitor)
 {
     if (PlaceHolder != null)
     {
         PlaceHolder.Accept(visitor);
     }
 }
Exemple #2
0
            public void Store(IStorableLiteral var, Expression val)
            {
                if (var.StoreMode != EStoreMode.Transfer)
                {
                    throw new NotSupportedException();
                }

                _isTarget = true;
                var.Accept(this);

                var rhs = val as LiteralReference;

                if (rhs == null)
                {
                    throw new NotSupportedException();
                }

                _isTarget = false;
                rhs.ReferencedObject.Accept(this);
            }