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; }
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; }
public UnaryOp(UnaryOpKind opKind, E expression) { this.OpKind = opKind; this.Expression = expression; }
public UnaryOp(UnaryOpKind op, DestRegister dest, SrcRegister src) { this.op = op; this.dest = dest; this.src = src; }
Instruction ParseUnOp(UnaryOpKind op) { DestRegister dst = ParseDestReg (); SrcRegister src = ParseSrcReg (); return new UnaryOp (op, dst, src); }
public ExpressionUnary(UnaryOpKind op, Expression value) { this.op = op; this.value = value; }