Beispiel #1
0
 public ResPairScope(
     IResScope outer,
     IResScope inner)
 {
     _outer = outer;
     _inner = inner;
 }
Beispiel #2
0
 public ResEnv(
     ResolveContext context,
     IDiagnosticsSink diagnostics,
     IResScope scope)
     : this(context, diagnostics, scope, null, null, false, null)
 {
 }
Beispiel #3
0
 public ResEnv NestScope(
     IResScope scope)
 {
     return(new ResEnv(
                _context,
                _diagnostics.InsertSink(),
                new ResPairScope(_scope, scope),
                _score,
                _implicitFreq,
                _disableConversions,
                _baseAttributeType));
 }
Beispiel #4
0
 public ResEnv(
     ResolveContext context,
     IDiagnosticsSink diagnostics,
     IResScope scope,
     Cell <ResOverloadScore> score,
     IResElementRef implicitFreq,
     bool disableConversions,
     IResTypeExp baseAttributeType)
 {
     _context            = context;
     _diagnostics        = diagnostics;
     _scope              = scope;
     _score              = score;
     _implicitFreq       = implicitFreq;
     _disableConversions = disableConversions;
     _baseAttributeType  = baseAttributeType;
 }