示例#1
0
文件: ResEnv.cs 项目: kzyg/spark
 public ResPipelineScope(
     IResContainerRef pipeline,
     IResVarDecl thisParameter)
 {
     _pipeline      = pipeline;
     _thisParameter = thisParameter;
 }
示例#2
0
 public ResMemberLineSpec(
     IResContainerRef container,
     IResMemberLineDecl decl)
 {
     _container = container;
     _decl      = decl;
 }
示例#3
0
 private bool IsSamePipeline(
     IResContainerRef left,
     IResContainerRef right)
 {
     return(IsSamePipelineImpl(
                (dynamic)left,
                (dynamic)right));
 }
示例#4
0
 public ResMemberCategoryGroupSpec(
     SourceRange range,
     IResContainerRef containerRef,
     IResMemberCategoryGroup decl)
 {
     _range        = range;
     _containerRef = containerRef;
     _decl         = decl;
 }
        public ResMemberSpec(
            SourceRange range,
            IResContainerRef container,
            IResMemberDecl decl)
        {
            if (decl == null)
                throw new ArgumentNullException("decl");

            _range = range;
            _container = container;
            _decl = decl;
        }
示例#6
0
        public IResFacetDecl FindFacetForBase(
            IResContainerRef basePipelineRef)
        {
            foreach (var facet in Facets)
            {
                var originalPipelineRef = facet.OriginalPipeline; // \todo: Substitution?
                if (IsSamePipeline(basePipelineRef, originalPipelineRef))
                {
                    return(facet);
                }
            }

            return(null);
        }
示例#7
0
        public ResMemberSpec(
            SourceRange range,
            IResContainerRef container,
            IResMemberDecl decl)
        {
            if (decl == null)
            {
                throw new ArgumentNullException("decl");
            }

            _range     = range;
            _container = container;
            _decl      = decl;
        }
 public ResMemberLineSpec(
     IResContainerRef container,
     IResMemberLineDecl decl)
 {
     _container = container;
     _decl = decl;
 }