internal GroupKeyAggregateInfo(
     GroupAggregateKind aggregateKind, ErrorContext errCtx, GroupAggregateInfo containingAggregate, ScopeRegion definingScopeRegion)
     : base(
         aggregateKind, null /* there is no AST.GroupAggregateExpression corresponding to the group key */, errCtx,
         containingAggregate, definingScopeRegion)
 {
 }
예제 #2
0
 internal GroupKeyAggregateInfo(
     GroupAggregateKind aggregateKind, ErrorContext errCtx, GroupAggregateInfo containingAggregate, ScopeRegion definingScopeRegion)
     : base(
         aggregateKind, null /* there is no AST.GroupAggregateExpression corresponding to the group key */, errCtx,
         containingAggregate, definingScopeRegion)
 {
 }
예제 #3
0
 internal GroupKeyAggregateInfo(
     GroupAggregateKind aggregateKind,
     ErrorContext errCtx,
     GroupAggregateInfo containingAggregate,
     ScopeRegion definingScopeRegion)
     : base(aggregateKind, (GroupAggregateExpr)null, errCtx, containingAggregate, definingScopeRegion)
 {
 }
예제 #4
0
 internal IDisposable EnterGroupKeyDefinition(
     GroupAggregateKind aggregateKind,
     ErrorContext errCtx,
     out GroupKeyAggregateInfo aggregateInfo)
 {
     aggregateInfo = new GroupKeyAggregateInfo(aggregateKind, errCtx, this._currentGroupAggregateInfo, this.CurrentScopeRegion);
     return(this.EnterGroupAggregate((GroupAggregateInfo)aggregateInfo));
 }
예제 #5
0
 protected GroupAggregateInfo(
     GroupAggregateKind aggregateKind,
     GroupAggregateExpr astNode,
     ErrorContext errCtx,
     GroupAggregateInfo containingAggregate,
     ScopeRegion definingScopeRegion)
 {
     this.AggregateKind       = aggregateKind;
     this.AstNode             = astNode;
     this.ErrCtx              = errCtx;
     this.DefiningScopeRegion = definingScopeRegion;
     this.SetContainingAggregate(containingAggregate);
 }
        protected GroupAggregateInfo(
            GroupAggregateKind aggregateKind,
            GroupAggregateExpr astNode,
            ErrorContext errCtx,
            GroupAggregateInfo containingAggregate,
            ScopeRegion definingScopeRegion)
        {
            Debug.Assert(aggregateKind != GroupAggregateKind.None, "aggregateKind != GroupAggregateKind.None");
            Debug.Assert(errCtx != null, "errCtx != null");
            Debug.Assert(definingScopeRegion != null, "definingScopeRegion != null");

            AggregateKind = aggregateKind;
            AstNode = astNode;
            ErrCtx = errCtx;
            DefiningScopeRegion = definingScopeRegion;
            SetContainingAggregate(containingAggregate);
        }
예제 #7
0
        protected GroupAggregateInfo(
            GroupAggregateKind aggregateKind,
            GroupAggregateExpr astNode,
            ErrorContext errCtx,
            GroupAggregateInfo containingAggregate,
            ScopeRegion definingScopeRegion)
        {
            Debug.Assert(aggregateKind != GroupAggregateKind.None, "aggregateKind != GroupAggregateKind.None");
            DebugCheck.NotNull(errCtx);
            DebugCheck.NotNull(definingScopeRegion);

            AggregateKind       = aggregateKind;
            AstNode             = astNode;
            ErrCtx              = errCtx;
            DefiningScopeRegion = definingScopeRegion;
            SetContainingAggregate(containingAggregate);
        }