Ejemplo n.º 1
0
        public UnaryOpNode(IRContext irContext, UnaryOpKind op, IntermediateNode child) : base(irContext)
        {
            Contracts.AssertValue(child);
            Contracts.Assert(op != UnaryOpKind.RecordToRecord && op != UnaryOpKind.TableToTable);

            Op    = op;
            Child = child;
        }
Ejemplo n.º 2
0
        public AggregateCoercionNode(IRContext irContext, UnaryOpKind op, ScopeSymbol scope, IntermediateNode child, IReadOnlyDictionary <DName, IntermediateNode> fieldCoercions) : base(irContext)
        {
            Contracts.AssertValue(child);
            Contracts.Assert(op == UnaryOpKind.RecordToRecord || op == UnaryOpKind.TableToTable);

            Op             = op;
            Scope          = scope;
            Child          = child;
            FieldCoercions = fieldCoercions;
        }
Ejemplo n.º 3
0
 public UnaryOp(UnaryOpKind opKind, E expression)
 {
     this.OpKind     = opKind;
     this.Expression = expression;
 }
Ejemplo n.º 4
0
 public UnaryOp(UnaryOpKind op, DestRegister dest, SrcRegister src)
 {
     this.op = op;
     this.dest = dest;
     this.src = src;
 }
Ejemplo n.º 5
0
 Instruction ParseUnOp(UnaryOpKind op)
 {
     DestRegister dst = ParseDestReg ();
     SrcRegister src = ParseSrcReg ();
     return new UnaryOp (op, dst, src);
 }
Ejemplo n.º 6
0
 public ExpressionUnary(UnaryOpKind op, Expression value)
 {
     this.op    = op;
     this.value = value;
 }