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

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

        public override IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
        {
            return(new ResConceptClassRef(
                       range,
                       this,
                       memberTerm));
        }
Esempio n. 10
0
 public ResFieldRef(
     SourceRange range,
     ResFieldDecl decl,
     IResMemberTerm memberTerm)
     : this(range, decl, memberTerm, decl.Type.Substitute(memberTerm.Subst))
 {
 }
Esempio n. 11
0
 public ResMemberRef(
     SourceRange range,
     D decl,
     IResMemberTerm memberTerm)
 {
     _range      = range;
     _decl       = decl;
     _memberTerm = memberTerm;
 }
Esempio n. 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));
 }
Esempio n. 13
0
 public ResFieldRef(
     SourceRange range,
     ResFieldDecl decl,
     IResMemberTerm memberTerm,
     IResTypeExp type)
     : base(range, decl, memberTerm)
 {
     _type = type;
 }
Esempio n. 14
0
 public ResAttributeRef(
     SourceRange range,
     ResAttributeDecl decl,
     IResMemberTerm memberTerm,
     ILazy <IResFreqQualType> lazyType,
     ILazy <IResExp> lazyInit)
     : base(range, decl, memberTerm)
 {
     _lazyType = lazyType;
     _lazyInit = lazyInit;
 }
Esempio n. 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);
 }
Esempio n. 17
0
 public abstract IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm);
Esempio n. 18
0
 public IResMemberRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     throw new NotImplementedException();
 }
Esempio n. 19
0
 private IMidMemberRef EmitMemberTerm(IResMemberTerm resMemberTerm, MidEmitEnv env)
 {
     return(EmitMemberTermImpl((dynamic)resMemberTerm, env));
 }
Esempio n. 20
0
 private void BindForMemberTerm(
     IResMemberTerm memberTerm,
     MidEmitEnv env)
 {
     BindForMemberTermImpl((dynamic)memberTerm, env);
 }
Esempio n. 21
0
 public ResVarSpec(
     IResVarDecl decl,
     IResMemberTerm memberTerm)
     : this(decl, decl.Type.Substitute(memberTerm.Subst))
 {
 }
Esempio n. 22
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return(new ResTypeParamRef(range, this));
 }
Esempio n. 23
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return(new ResVarSpec(this, memberTerm));
 }
Esempio n. 24
0
 public IResGenericParamRef MakeRef(SourceRange range, IResMemberTerm memberTerm)
 {
     return new ResVarSpec(this, memberTerm);
 }