예제 #1
0
 public MakeReference(Expression referencedType, ReferenceFlow flow, bool streamRef, TokenPosition position)
     : base(position)
 {
     this.referencedType = referencedType;
     this.flow = flow;
     this.streamReference = streamRef;
 }
예제 #2
0
 public MakeReference(Expression referencedType, ReferenceFlow flow, bool streamRef, TokenPosition position)
     : base(position)
 {
     this.referencedType  = referencedType;
     this.flow            = flow;
     this.streamReference = streamRef;
 }
예제 #3
0
 internal ReferenceType(IChelaType actualType, ReferenceFlow flow, bool streamReference)
 {
     this.referencedType  = actualType;
     this.name            = null;
     this.fullName        = null;
     this.referenceFlow   = flow;
     this.streamReference = streamReference;
 }
예제 #4
0
 public static ReferenceType Create(IChelaType actualType, ReferenceFlow flow)
 {
     return(Create(actualType, flow, false));
 }
예제 #5
0
        public static ReferenceType Create(IChelaType actualType, ReferenceFlow flow, bool streamReference)
        {
            ReferenceType reference = new ReferenceType(actualType, flow, streamReference);

            return(referenceTypes.GetOrAdd(reference));
        }