Method | Description | |
---|---|---|
GenericParameterInferrer ( CompilerContext context, IMethod genericMethod, Boo.Lang.Compiler.Ast.ExpressionCollection arguments ) : System | ||
GetInferredTypes ( ) : IType[] | ||
Run ( ) : bool |
Method | Description | |
---|---|---|
CalculateDependencies ( |
||
CalculateDependencies ( IType inputType, IType outputType ) : void | ||
FindGenericParameters ( IType type ) : IEnumerable |
||
Fix ( IGenericParameter genericParameter, InferredType inferredType ) : bool | ||
FixAll ( Predicate |
||
GetInferredType ( IGenericParameter gp ) : IType | ||
GetParameterTypes ( |
||
HasDependantsAndBounds ( InferredType inferredType ) : bool | ||
HasNoDependencies ( InferredType inferredType ) : bool | ||
HasUnfixedTypes ( ) : bool | ||
Infer ( IType formalType, IType actualType, Inference inference ) : bool |
Attempts to infer the type of generic parameters that occur in a formal parameter type according to its actual argument type.
|
|
InferArrayType ( IArrayType formalType, IType actualType, Inference inference ) : bool | ||
InferCallableType ( ICallableType formalType, IType actualType, Inference inference ) : bool | ||
InferCallables ( ) : void |
Performs inference on implicitly typed callables whose input types have already been inferred. Corresponds to the second phase in generic parameter inference according to the C# 3.0 spec. |
|
InferConstructedType ( IType formalType, IType actualType, Inference inference ) : bool | ||
InferExplicits ( ) : void |
Performs inference on explicitly typed arguments. Corresponds to the first phase in generic parameter inference according to the C# 3.0 spec. |
|
InferGenericParameter ( IGenericParameter formalType, IType actualType, Inference inference ) : bool | ||
InferSimpleType ( IType formalType, IType actualType, Inference inference ) : bool | ||
InferenceComplete ( bool successfully ) : bool | ||
InferenceStart ( ) : void | ||
InitializeDependencies ( IGenericParameter genericParameters, |
||
InitializeInferredTypes ( IEnumerable |
||
Invert ( Inference inference ) : Inference | ||
SetDependency ( IGenericParameter dependant, IGenericParameter dependee ) : void |
public GenericParameterInferrer ( CompilerContext context, IMethod genericMethod, Boo.Lang.Compiler.Ast.ExpressionCollection arguments ) : System | ||
context | CompilerContext | |
genericMethod | IMethod | |
arguments | Boo.Lang.Compiler.Ast.ExpressionCollection | |
return | System |