示例#1
0
 public ResMethodRef(
     SourceRange range,
     ResMethodDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#2
0
 public ResElementRef(
     SourceRange range,
     IResElementDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#3
0
 public ResPipelineRef(
     SourceRange range,
     IResPipelineDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#4
0
 public ResStructRef(
     SourceRange range,
     ResStructDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#5
0
 public ResGenericRef(
     SourceRange range,
     ResGenericDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#6
0
        // ResMemberDecl

        public override IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
        {
            return(new ResAttributeRef(
                       range,
                       this,
                       memberTerm));
        }
示例#7
0
 public ResConceptClassRef(
     SourceRange range,
     ResConceptClassDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#8
0
 public ResTypeSlotRef(
     SourceRange range,
     ResTypeSlotDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
 }
示例#9
0
        // ResMemberDecl

        public override IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
        {
            return(new ResConceptClassRef(
                       range,
                       this,
                       memberTerm));
        }
示例#10
0
 public ResFieldRef(
     SourceRange range,
     ResFieldDecl decl,
     IResMemberTerm memberTerm)
     : this(range, decl, memberTerm, decl.Type.Substitute(memberTerm.Subst))
 {
 }
示例#11
0
 public ResMemberRef(
     SourceRange range,
     D decl,
     IResMemberTerm memberTerm)
 {
     _range      = range;
     _decl       = decl;
     _memberTerm = memberTerm;
 }
示例#12
0
 public ResAttributeRef(
     SourceRange range,
     ResAttributeDecl decl,
     IResMemberTerm memberTerm)
     : base(range, decl, memberTerm)
 {
     _lazyType = Lazy.New(new LazyFactory(), () => Decl.Type.Substitute <IResFreqQualType>(MemberTerm.Subst));
     _lazyInit = Lazy.New(new LazyFactory(), () => Decl.Init == null ? null : Decl.Init.Substitute(MemberTerm.Subst));
 }
示例#13
0
 public ResFieldRef(
     SourceRange range,
     ResFieldDecl decl,
     IResMemberTerm memberTerm,
     IResTypeExp type)
     : base(range, decl, memberTerm)
 {
     _type = type;
 }
示例#14
0
 public ResAttributeRef(
     SourceRange range,
     ResAttributeDecl decl,
     IResMemberTerm memberTerm,
     ILazy <IResFreqQualType> lazyType,
     ILazy <IResExp> lazyInit)
     : base(range, decl, memberTerm)
 {
     _lazyType = lazyType;
     _lazyInit = lazyInit;
 }
示例#15
0
 public ResVarSpec(
     IResVarDecl decl,
     IResMemberTerm memberTerm)
     : this(decl, decl.Type.Substitute(memberTerm.Subst))
 {
 }
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return new ResTypeParamRef(range, this);
 }
示例#17
0
 public abstract IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm);
示例#18
0
 public IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     throw new NotImplementedException();
 }
示例#19
0
 private IMidMemberRef EmitMemberTerm(IResMemberTerm resMemberTerm, MidEmitEnv env)
 {
     return(EmitMemberTermImpl((dynamic)resMemberTerm, env));
 }
示例#20
0
 private void BindForMemberTerm(
     IResMemberTerm memberTerm,
     MidEmitEnv env)
 {
     BindForMemberTermImpl((dynamic)memberTerm, env);
 }
示例#21
0
 public ResVarSpec(
     IResVarDecl decl,
     IResMemberTerm memberTerm)
     : this(decl, decl.Type.Substitute(memberTerm.Subst))
 {
 }
示例#22
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return(new ResTypeParamRef(range, this));
 }
示例#23
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return(new ResVarSpec(this, memberTerm));
 }
示例#24
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return new ResVarSpec(this, memberTerm);
 }