Esempio n. 1
0
        public BinaryOpNode(IRContext irContext, BinaryOpKind op, IntermediateNode left, IntermediateNode right) : base(irContext)
        {
            Contracts.AssertValue(left);
            Contracts.AssertValue(right);

            Op    = op;
            Left  = left;
            Right = right;
        }
Esempio 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;
        }
Esempio n. 3
0
        public LazyEvalNode(IRContext irContext, IntermediateNode wrapped) : base(irContext)
        {
            Contracts.AssertValue(wrapped);

            Child = wrapped;
        }