public ResExp( SourceRange range, IResTypeExp type) { _range = range; _type = type; }
public ResIntervalKind( IResTypeExp lowerBound, IResTypeExp upperBound) { _lowerBound = lowerBound; _upperBound = upperBound; }
public ResVarSpec( IResVarDecl decl, IResTypeExp type) { _decl = decl; _type = type; }
public ResVarDecl( SourceRange range, Identifier name, IResTypeExp type, ResVarFlags flags = ResVarFlags.None) : this(range, name, Lazy.Value(type), flags) { }
public ResVarRef( SourceRange range, IResVarDecl varDecl, IResTypeExp type) : base(range, type) { _varDecl = varDecl; }
public ResLabel( SourceRange range, Identifier name, IResTypeExp type) { _range = range; _name = name; _type = type; }
public ResFieldRef( SourceRange range, ResFieldDecl decl, IResMemberTerm memberTerm, IResTypeExp type) : base(range, decl, memberTerm) { _type = type; }
public ResAttributeFetch( SourceRange range, IResTypeExp type, IResExp obj, IResExp attribute) : base(range, type) { _obj = obj; _attribute = attribute; }
public ResMethodApp( SourceRange range, IResTypeExp type, IResMethodRef method, IEnumerable<IResExp> args) : base(range, type) { _method = method; _args = args.ToArray(); }
public ResMethodApp( SourceRange range, IResTypeExp type, IResMethodRef method, IEnumerable <IResExp> args) : base(range, type) { _method = method; _args = args.ToArray(); }
public ResElementCtorApp( SourceRange range, IResTypeExp type, IResElementRef element, IEnumerable <ResElementCtorArg> args) : base(range, type) { _element = element; _args = args.ToArray(); }
private MidElementDecl GetFreq(IResTypeExp type, MidEmitEnv env) { if (type is ResFreqQualType) { var fqType = (ResFreqQualType)type; var elementType = (MidElementType)EmitTypeExp(fqType.Freq, env); return(elementType.Decl); } return(null); }
public ResEnv NestBaseAttributeType(IResTypeExp type) { return(new ResEnv( _context, _diagnostics, _scope, _score, _implicitFreq, _disableConversions, type)); }
public ResFreqQualType( SourceRange range, IResElementRef freq, IResTypeExp type) { if (freq == null) { throw new ArgumentNullException("freq"); } _range = range; _freq = freq; _type = type; }
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; }
public ResVarSpec( IResVarDecl decl, IResTypeExp type ) { _decl = decl; _type = type; }
public ResBaseExp( SourceRange range, IResTypeExp type) : base(range, type) { }
public ResLit( SourceRange range, IResTypeExp type) : base(range, type) { }
public ResIntervalKind( IResTypeExp upperBound) : this(new ResBottomType(), upperBound) { }
private MidType EmitTypeExp(IResTypeExp resType, MidEmitEnv env) { return(EmitTypeExpImpl((dynamic)resType, env)); }
public ResGenericTypeArg( IResTypeExp type) { _type = type; }