프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ArrayType | IType | ||
BoolType | IType | ||
BuiltinsType | IType | ||
ByteType | IType | ||
CharType | IType | ||
ConditionalAttribute | IType | ||
DateTimeType | IType | ||
DecimalType | IType | ||
DelegateType | IType | ||
DoubleType | IType | ||
DuckType | IType | ||
EnumType | IType | ||
ErrorEntity | IType | ||
HashType | IType | ||
IAstGeneratorMacroType | IType | ||
IAstMacroType | IType | ||
ICallableType | IType | ||
ICollectionGenericType | IType | ||
ICollectionType | IType | ||
IDisposableType | IType | ||
IEnumerableGenericType | IType | ||
IEnumerableType | IType | ||
IEnumeratorGenericType | IType | ||
IEnumeratorType | IType | ||
IListGenericType | IType | ||
IListType | IType | ||
IQuackFuType | IType | ||
IntPtrType | IType | ||
IntType | IType | ||
ListType | IType | ||
LongType | IType | ||
MulticastDelegateType | IType | ||
ObjectArrayType | IArrayType | ||
ObjectType | IType | ||
RegexType | IType | ||
RuntimeServicesType | IType | ||
SByteType | IType | ||
ShortType | IType | ||
SingleType | IType | ||
StringType | IType | ||
SystemAttribute | IType | ||
TimeSpanType | IType | ||
TypeType | IType | ||
UIntPtrType | IType | ||
UIntType | IType | ||
ULongType | IType | ||
UShortType | IType | ||
ValueTypeType | IType | ||
VoidType | IType |
메소드 | 설명 | |
---|---|---|
AddCompilerGeneratedType ( Boo.Lang.Compiler.Ast.TypeDefinition type ) : void | ||
CanBeExplicitlyCastToPrimitiveNumber ( IType type ) : bool | ||
CanBeReachedByDownCastOrPromotion ( IType expectedType, IType actualType ) : bool | ||
CanBeReachedByPromotion ( IType expectedType, IType actualType ) : bool | ||
CanBeReachedFrom ( IType expectedType, IType actualType ) : bool | ||
CanBeReachedFrom ( IType expectedType, IType actualType, bool &byDowncast ) : bool | ||
CanBeReachedFrom ( IType expectedType, IType actualType, bool considerExplicitConversionOperators, bool &byDowncast ) : bool | ||
CheckOverrideSignature ( IMethod impl, IMethod baseMethod ) : bool | ||
CheckOverrideSignature ( IParameter implParameters, IParameter baseParameters ) : bool | ||
ContainsMethodsOnly ( ICollection |
||
FindExplicitConversionOperator ( IType fromType, IType toType ) : IMethod | ||
FindImplicitConversionOperator ( IType fromType, IType toType ) : IMethod | ||
GetAccess ( IAccessibleMember member ) : TypeMemberModifiers | ||
GetCallableType ( |
||
GetCallableType ( IMethodBase method ) : ICallableType | ||
GetCompilerGeneratedTypesModule ( ) : |
||
GetConcreteCallableType ( Node sourceNode, |
||
GetConcreteCallableType ( Node sourceNode, |
||
GetConcreteExpressionType ( |
||
GetDefaultConstructor ( IType type ) : IConstructor | ||
GetDefaultMember ( IType type ) : IEntity | ||
GetEntity ( Node node ) : IEntity | ||
GetEnumeratorItemType ( IType iteratorType ) : IType | ||
GetExpressionType ( |
||
GetGenericEnumerableItemType ( IType iteratorType ) : IType | ||
GetMostGenericType ( Boo.Lang.Compiler.Ast.ExpressionCollection args ) : IType | ||
GetMostGenericType ( IType current, IType candidate ) : IType | ||
GetNullableUnderlyingType ( IType type ) : IType | ||
GetOverriddenSignature ( IMethod baseMethod, IMethod impl ) : |
||
GetPromotedNumberType ( IType left, IType right ) : IType | ||
GetReferencedType ( |
||
GetSignature ( IEntityWithParameters method ) : string | ||
GetStringExceptionConstructor ( ) : IConstructor | ||
GetType ( Node node ) : IType | ||
IsAnyType ( IType type ) : bool |
Returns true if the type can be either a reference type or a value type. Currently it returns true only for an unconstrained generic parameter type.
|
|
IsAttribute ( IType type ) : bool | ||
IsBuiltin ( IEntity entity ) : bool | ||
IsCallable ( IType type ) : bool | ||
IsCallableTypeAssignableFrom ( ICallableType lhs, IType rhs ) : bool | ||
IsDuckType ( IType type ) : bool | ||
IsDuckTyped ( |
||
IsError ( |
||
IsError ( IEntity entity ) : bool | ||
IsErrorAny ( Boo.Lang.Compiler.Ast.ExpressionCollection collection ) : bool | ||
IsFloatingPointNumber ( IType type ) : bool | ||
IsGenericGeneratorReturnType ( IType returnType ) : bool | ||
IsIntegerNumber ( IType type ) : bool | ||
IsIntegerOrBool ( IType type ) : bool | ||
IsLiteralPrimitive ( IType type ) : bool | ||
IsMacro ( IType type ) : bool | ||
IsNullable ( IType type ) : bool | ||
IsNumber ( IType type ) : bool | ||
IsNumberOrBool ( IType type ) : bool | ||
IsPointerCompatible ( IType type ) : bool | ||
IsPrimitive ( string name ) : bool | ||
IsPrimitiveNumber ( IType type ) : bool | ||
IsQuackBuiltin ( |
||
IsQuackBuiltin ( IEntity entity ) : bool | ||
IsReadOnlyField ( IField field ) : bool | ||
IsReferenceType ( IType type ) : bool |
Returns true if the type is a reference type or a generic parameter type that is constrained to represent a reference type.
|
|
IsSignedNumber ( IType type ) : bool | ||
IsSystemObject ( IType type ) : bool |
checks if the passed type will be equivalente to System.Object in runtime (accounting for the presence of duck typing).
|
|
IsUnknown ( |
||
IsUnknown ( IType type ) : bool | ||
IsValidException ( IType type ) : bool | ||
KnowsQuackFu ( IType type ) : bool | ||
Map ( |
||
Map ( |
||
Map ( |
||
Map ( |
||
Map ( |
||
MapToConcreteExpressionTypes ( Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void | ||
MapWildcardType ( IType type ) : IType | ||
ResolvePrimitive ( string name ) : IEntity | ||
SizeOf ( IType type ) : int | ||
TypeSystemServices ( ) : System | ||
TypeSystemServices ( CompilerContext context ) : System |
메소드 | 설명 | |
---|---|---|
AddBuiltin ( |
||
AddLiteralPrimitiveType ( string name, IType type ) : void | ||
AddPrimitiveType ( string name, IType type ) : void | ||
PrepareBuiltinFunctions ( ) : void | ||
PreparePrimitives ( ) : void |
메소드 | 설명 | |
---|---|---|
CanBeReachedByPromotionImpl ( IType expectedType, IType actualType ) : bool | ||
ClearScopeDependentMemoizedFunctions ( ) : void | ||
CompatibleReturnTypes ( |
||
DowncastPermissions ( ) : DowncastPermissions | ||
FindConversionOperator ( string name, IType fromType, IType toType ) : IMethod | ||
FindConversionOperator ( string name, IType fromType, IType toType, IEnumerable |
||
FindExtension ( IType fromType, string name ) : IEntity[] | ||
GetEnumeratorItemTypeFromAttribute ( IType iteratorType ) : IType | ||
GetExternalEnumeratorItemType ( IType iteratorType ) : IType | ||
GetOptionalEntity ( Node node ) : IEntity | ||
InStrictMode ( ) : bool | ||
InvalidNode ( Node node ) : void | ||
IsAssignableFrom ( IType expectedType, IType actualType ) : bool | ||
IsCallableType ( IType type ) : bool | ||
IsConversionOperator ( IMethod method, IType fromType, IType toType ) : bool | ||
IsSignedInteger ( IType right ) : bool | ||
IsUnsignedInteger ( IType type ) : bool | ||
NewModule ( string nameSpace ) : |
||
NewModule ( string nameSpace, string moduleName ) : |
||
TypeSystemProvider ( ) : IReflectionTypeSystemProvider |
protected AddBuiltin ( |
||
function | ||
리턴 | void |
public AddCompilerGeneratedType ( Boo.Lang.Compiler.Ast.TypeDefinition type ) : void | ||
type | Boo.Lang.Compiler.Ast.TypeDefinition | |
리턴 | void |
protected AddLiteralPrimitiveType ( string name, IType type ) : void | ||
name | string | |
type | IType | |
리턴 | void |
protected AddPrimitiveType ( string name, IType type ) : void | ||
name | string | |
type | IType | |
리턴 | void |
public CanBeExplicitlyCastToPrimitiveNumber ( IType type ) : bool | ||
type | IType | |
리턴 | bool |
public CanBeReachedByDownCastOrPromotion ( IType expectedType, IType actualType ) : bool | ||
expectedType | IType | |
actualType | IType | |
리턴 | bool |
public CanBeReachedByPromotion ( IType expectedType, IType actualType ) : bool | ||
expectedType | IType | |
actualType | IType | |
리턴 | bool |
public CanBeReachedFrom ( IType expectedType, IType actualType ) : bool | ||
expectedType | IType | |
actualType | IType | |
리턴 | bool |
public CanBeReachedFrom ( IType expectedType, IType actualType, bool &byDowncast ) : bool | ||
expectedType | IType | |
actualType | IType | |
byDowncast | bool | |
리턴 | bool |
public CanBeReachedFrom ( IType expectedType, IType actualType, bool considerExplicitConversionOperators, bool &byDowncast ) : bool | ||
expectedType | IType | |
actualType | IType | |
considerExplicitConversionOperators | bool | |
byDowncast | bool | |
리턴 | bool |
public static CheckOverrideSignature ( IMethod impl, IMethod baseMethod ) : bool | ||
impl | IMethod | |
baseMethod | IMethod | |
리턴 | bool |
public static CheckOverrideSignature ( IParameter implParameters, IParameter baseParameters ) : bool | ||
implParameters | IParameter | |
baseParameters | IParameter | |
리턴 | bool |
public static ContainsMethodsOnly ( ICollection |
||
members | ICollection |
|
리턴 | bool |
public FindExplicitConversionOperator ( IType fromType, IType toType ) : IMethod | ||
fromType | IType | |
toType | IType | |
리턴 | IMethod |
public FindImplicitConversionOperator ( IType fromType, IType toType ) : IMethod | ||
fromType | IType | |
toType | IType | |
리턴 | IMethod |
public static GetAccess ( IAccessibleMember member ) : TypeMemberModifiers | ||
member | IAccessibleMember | |
리턴 | TypeMemberModifiers |
public GetCallableType ( |
||
signature | ||
리턴 | ICallableType |
public GetCallableType ( IMethodBase method ) : ICallableType | ||
method | IMethodBase | |
리턴 | ICallableType |
public GetCompilerGeneratedTypesModule ( ) : |
||
리턴 |
public GetConcreteCallableType ( Node sourceNode, |
||
sourceNode | Node | |
anonymousType | ||
리턴 | IType |
public GetConcreteCallableType ( Node sourceNode, |
||
sourceNode | Node | |
signature | ||
리턴 | IType |
public GetConcreteExpressionType ( |
||
expression | ||
리턴 | IType |
public GetDefaultConstructor ( IType type ) : IConstructor | ||
type | IType | |
리턴 | IConstructor |
public GetEnumeratorItemType ( IType iteratorType ) : IType | ||
iteratorType | IType | |
리턴 | IType |
public static GetExpressionType ( |
||
node | ||
리턴 | IType |
public GetGenericEnumerableItemType ( IType iteratorType ) : IType | ||
iteratorType | IType | |
리턴 | IType |
public GetMostGenericType ( Boo.Lang.Compiler.Ast.ExpressionCollection args ) : IType | ||
args | Boo.Lang.Compiler.Ast.ExpressionCollection | |
리턴 | IType |
public GetMostGenericType ( IType current, IType candidate ) : IType | ||
current | IType | |
candidate | IType | |
리턴 | IType |
public GetNullableUnderlyingType ( IType type ) : IType | ||
type | IType | |
리턴 | IType |
public static GetOverriddenSignature ( IMethod baseMethod, IMethod impl ) : |
||
baseMethod | IMethod | |
impl | IMethod | |
리턴 |
public GetPromotedNumberType ( IType left, IType right ) : IType | ||
left | IType | |
right | IType | |
리턴 | IType |
public static GetReferencedType ( |
||
typeref | ||
리턴 | IType |
public static GetSignature ( IEntityWithParameters method ) : string | ||
method | IEntityWithParameters | |
리턴 | string |
public GetStringExceptionConstructor ( ) : IConstructor | ||
리턴 | IConstructor |
public IsCallableTypeAssignableFrom ( ICallableType lhs, IType rhs ) : bool | ||
lhs | ICallableType | |
rhs | IType | |
리턴 | bool |
public IsDuckTyped ( |
||
expression | ||
리턴 | bool |
public static IsError ( |
||
node | ||
리턴 | bool |
public static IsErrorAny ( Boo.Lang.Compiler.Ast.ExpressionCollection collection ) : bool | ||
collection | Boo.Lang.Compiler.Ast.ExpressionCollection | |
리턴 | bool |
public IsFloatingPointNumber ( IType type ) : bool | ||
type | IType | |
리턴 | bool |
public IsGenericGeneratorReturnType ( IType returnType ) : bool | ||
returnType | IType | |
리턴 | bool |
public IsQuackBuiltin ( |
||
node | ||
리턴 | bool |
public static IsReadOnlyField ( IField field ) : bool | ||
field | IField | |
리턴 | bool |
public static IsUnknown ( |
||
node | ||
리턴 | bool |
public Map ( |
||
constructor | ||
리턴 | IConstructor |
public Map ( |
||
members | ||
리턴 | IEntity |
public Map ( |
||
method | ||
리턴 | IMethod |
public Map ( |
||
parameters | ||
리턴 | IParameter[] |
public MapToConcreteExpressionTypes ( Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void | ||
items | Boo.Lang.Compiler.Ast.ExpressionCollection | |
리턴 | void |
public TypeSystemServices ( CompilerContext context ) : System | ||
context | CompilerContext | |
리턴 | System |