Esempio n. 1
0
        internal PatternElement(Declaration declaration, IEnumerable <ConditionElement> conditions, PatternSourceElement source)
        {
            Declaration = declaration;
            ValueType   = declaration.Type;
            _conditions = new List <ConditionElement>(conditions);
            Source      = source;

            AddExport(declaration);
            AddImports(_conditions);
            AddImports(source);
        }
Esempio n. 2
0
 internal PatternElement(Declaration declaration, IEnumerable <Declaration> declarations, IEnumerable <ConditionElement> conditions, PatternSourceElement source)
     : this(declaration, declarations, conditions)
 {
     _source = source;
 }