Пример #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);
 }