Example #1
0
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, string name, ExpressionMap expressionMap, PatternElement source)
     : base(declarations, resultType)
 {
     Name          = name;
     ExpressionMap = expressionMap;
     Source        = source;
 }
Example #2
0
        internal ForAllElement(PatternElement source, IEnumerable <PatternElement> patterns)
        {
            BasePattern = source;
            _patterns   = new List <PatternElement>(patterns);

            AddImports(source);
            AddImports(_patterns);
        }
Example #3
0
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, string name, ExpressionMap expressionMap, IAggregatorFactory factory, PatternElement source)
     : base(declarations, resultType)
 {
     _name          = name;
     _expressionMap = expressionMap;
     _factory       = factory;
     _source        = source;
 }
Example #4
0
        internal AggregateElement(Type resultType, string name, ExpressionCollection expressions, PatternElement source, Type customFactoryType)
            : base(resultType)
        {
            Name              = name;
            Expressions       = expressions;
            Source            = source;
            CustomFactoryType = customFactoryType;

            AddImports(source);
        }
Example #5
0
        internal AggregateElement(Type resultType, string name, ExpressionCollection expressions, PatternElement source, Type customFactoryType)
        {
            ResultType        = resultType;
            Name              = name;
            Expressions       = expressions;
            Source            = source;
            CustomFactoryType = customFactoryType;

            AddImports(source);
            AddImports(expressions.SelectMany(x => x.Imports.Except(source.Exports)));
        }
Example #6
0
 internal ForAllElement(IEnumerable <Declaration> declarations, PatternElement source, IEnumerable <PatternElement> patterns)
     : base(declarations)
 {
     BasePattern = source;
     _patterns   = new List <PatternElement>(patterns);
 }
Example #7
0
 internal AggregateElement(Type resultType, Type aggregateType, PatternElement source) : base(resultType)
 {
     AggregateType = aggregateType;
     Source        = source;
 }
 internal AggregateElement(IEnumerable <Declaration> declarations, Type resultType, Type aggregateType, PatternElement source)
     : base(declarations, resultType)
 {
     _aggregateType = aggregateType;
     _source        = source;
 }