C# Class Boo.Lang.Compiler.Steps.EmitAssembly

Inheritance: Boo.Lang.Compiler.Steps.AbstractFastVisitorCompilerStep
Datei anzeigen Open project: boo-lang/boo Class Usage Examples

Private Properties

Property Type Description
AnnotateGenericTypeName string
ArgumentsForAttributeConstructor object[]
BeginMethodBody void
BuildOutputAssemblyName string
Call void
CallArrayMethod void
CanBeNegative bool
Castclass void
CheckConditionalAttributes bool
CollectTypes List
CollectTypes void
ConvertValue object
CreateAssemblyName System.Reflection.AssemblyName
CreateByteArrayFromLiteralCollection byte[]
CreateDebuggableAttribute System.Reflection.Emit.CustomAttributeBuilder
CreateDuckTypedCustomAttribute System.Reflection.Emit.CustomAttributeBuilder
CreateRuntimeCompatibilityAttribute System.Reflection.Emit.CustomAttributeBuilder
CreateTypeBuilder object
CreateTypes void
CreateUnverifiableCodeAttribute System.Reflection.Emit.CustomAttributeBuilder
DefineAssemblyAttributes void
DefineConstructor void
DefineEntryPoint void
DefineEvent void
DefineEventMethod System.Reflection.Emit.MethodBuilder
DefineExplicitImplementationInfo void
DefineField void
DefineGenericParameter void
DefineGenericParameters void
DefineGenericParameters void
DefineGenericParameters void
DefineGenericParameters void
DefineLabels void
DefineMethod System.Reflection.Emit.MethodBuilder
DefineModuleConstructor void
DefineParameters void
DefineParameters void
DefineParameters void
DefineProperty void
DefinePropertyAccessor System.Reflection.Emit.MethodBuilder
DefineResources void
DefineType void
DefineTypeMembers void
DefineTypes void
DiscardValueOnStack void
Dup void
EmitAddressOf void
EmitAnd void
EmitArray void
EmitAssignment void
EmitAssignmentToMultiDimensionalArrayElement void
EmitAssignmentToSingleDimensionalArrayElement void
EmitAttributes void
EmitAttributes void
EmitBaseTypesAndAttributes void
EmitBitwiseOperator void
EmitBox void
EmitBoxIfNeeded void
EmitBranch void
EmitBranch void
EmitBranch void
EmitBranchFalse void
EmitBranchTrue void
EmitCastIfNeeded void
EmitConstructorAttributes void
EmitDebugInfo bool
EmitDebugInfo bool
EmitDefaultBranch void
EmitDefaultValue void
EmitEventAttributes void
EmitFieldAttributes void
EmitGenericNot void
EmitGetTypeFromHandle void
EmitGoTo void
EmitIndirectAssignment void
EmitIndirection void
EmitInlineArrayInit void
EmitIntNot void
EmitLoadField void
EmitLoadFieldAddress void
EmitLoadLiteral void
EmitLoadLiteral void
EmitLoadLiteral void
EmitLoadLiteral void
EmitLoadLiteralField void
EmitLogicalNot void
EmitLogicalOperator void
EmitMethod void
EmitMethodAttributes void
EmitNewArray void
EmitNewMatrix void
EmitNop void
EmitNormalizedArrayIndex void
EmitObjectArray void
EmitOnesComplement void
EmitOr void
EmitPackedArrayInit void
EmitParameterAttributes void
EmitPropertyAttributes void
EmitRawBranch void
EmitRuntimeCoercionIfNeeded void
EmitStoreOrPopException void
EmitToBoolIfNeeded bool
EmitToBoolIfNeeded bool
EmitTypeAttributes void
EmitTypeDefinition void
EmitTypeTest void
EmitUnaryNegation void
EmitUnbox void
EndMethodBody void
EnterLoop void
FieldAttributesFor FieldAttributes
FieldVisibilityAttributeFor FieldAttributes
FlushAssignmentOperand void
GatherAssemblyAttributes void
GetArithmeticOpCode OpCode
GetAssemblyAttribute Boo.Lang.Compiler.Ast.Attribute
GetAssemblyAttributeValue string
GetAssemblyBuilderAccess AssemblyBuilderAccess
GetAssemblyKeyPair System.Reflection.StrongNameKeyPair
GetAssemblySimpleName string
GetAssemblyVersion System.Version
GetBuilder object
GetCachedDocumentWriter ISymbolDocumentWriter
GetCallOpCode OpCode
GetComplexExpressionValue object
GetConditionalSymbols IEnumerable
GetConditionalSymbols IEnumerable
GetConditionalSymbols IEnumerable
GetConstructedMethodInfo System.Reflection.MethodInfo
GetConstructedMethodInfo System.Reflection.MethodInfo
GetConstructorBuilder System.Reflection.Emit.ConstructorBuilder
GetConstructorInfo System.Reflection.ConstructorInfo
GetCustomAttributeBuilder System.Reflection.Emit.CustomAttributeBuilder
GetDefaultValueHolder System.Reflection.Emit.LocalBuilder
GetDocumentWriter ISymbolDocumentWriter
GetEnumUnderlyingType System.Type
GetEnumUnderlyingType System.Type
GetExpectedTypeForBitwiseRightOperand IType
GetExtendedTypeAttributes TypeAttributes
GetFieldBuilder System.Reflection.Emit.FieldBuilder
GetFieldInfo System.Reflection.FieldInfo
GetFieldRequiredCustomModifiers System.Type[]
GetFromDecimalConversionMethod System.Reflection.MethodInfo
GetInternalFieldStaticValue object
GetInternalLocal InternalLocal
GetLoadEntityOpCode OpCode
GetLoadRefParamCode OpCode
GetLocalBuilder System.Reflection.Emit.LocalBuilder
GetMappedConstructorInfo System.Reflection.ConstructorInfo
GetMappedFieldInfo System.Reflection.FieldInfo
GetMappedMethodInfo System.Reflection.MethodInfo
GetMethodAttributes MethodAttributes
GetMethodBuilder System.Reflection.Emit.MethodBuilder
GetMethodInfo System.Reflection.MethodInfo
GetNamedValues void
GetNestedTypeAccessibility TypeAttributes
GetNestedTypeAttributes TypeAttributes
GetNullableHasValue System.Reflection.MethodInfo
GetNumericPromotionOpCode OpCode
GetParameterAttributes ParameterAttributes
GetParameterTypes System.Type[]
GetPropertyBuilder System.Reflection.Emit.PropertyBuilder
GetPropertyInfo System.Reflection.PropertyInfo
GetStaticValue object
GetStoreEntityOpCode OpCode
GetStoreRefParamCode OpCode
GetSystemType System.Type
GetSystemType System.Type
GetTargetDirectory string
GetTargetObject Boo.Lang.Compiler.Ast.Expression
GetToDecimalConversionMethod System.Reflection.MethodInfo
GetTypeAttributes TypeAttributes
GetTypeBuilder System.Reflection.Emit.TypeBuilder
GetTypeVisibilityAttributes TypeAttributes
GetValue object
HasDllOrExeExtension bool
ImplementationFlagsFor MethodImplAttributes
InTryInLoop bool
InitializerValueOf object
InvokeMethod void
InvokeOptimizedMethod bool
InvokeRegularMethod void
InvokeSuperMethod void
IsAssignableFrom bool
IsBoolOrInt bool
IsBooleanLiteral bool
IsByAddress bool
IsCheckedIntegerOperand bool
IsEnumDefinition bool
IsFalse bool
IsInteger bool
IsLong bool
IsNull bool
IsNumberLiteral bool
IsOneEquivalent bool
IsPInvoke bool
IsPtr bool
IsStobj bool
IsValueType bool
IsValueTypeArraySlicing bool
IsValueTypeMethodCall bool
IsVoid bool
IsZero bool
IsZeroEquivalent bool
Isinst void
LabelFor System.Reflection.Emit.Label
LabelsOn InternalLabel[]
LeaveLoop void
LoadAddress void
LoadAddressForInitObj void
LoadArrayElementAddress void
LoadArrayIndices void
LoadAssignmentOperand System.Reflection.Emit.LocalBuilder
LoadCmpOperands void
LoadExpressionWithType void
LoadIndirectLocal void
LoadIntExpression void
LoadLocal void
LoadLocal void
LoadLocal void
LoadMemberTarget void
LoadMultiDimensionalArrayElement void
LoadMultiDimensionalArrayElementAddress void
LoadOperandsWithType void
LoadParam void
LoadSelf void
LoadSingleDimensionalArrayElement void
LoadSingleDimensionalArrayElementAddress void
MethodAttributesFor MethodAttributes
MethodVisibilityAttributesFor MethodAttributes
NotImplemented void
NumericPromotionOpcodeFor OpCode
OnAddressOf void
OnArithmeticOperator void
OnAssignment void
OnAssignmentToSlice void
OnBuiltinFunction void
OnEquality void
OnEval void
OnExponentiation void
OnGreaterThan void
OnGreaterThanOrEqual void
OnInequality void
OnInitValueType void
OnLessThan void
OnLessThanOrEqual void
OnReferenceComparison void
OnSwitch void
OnTypeTest void
OperatorNotImplemented void
ParameterTypesForArrayGet System.Type[]
ParameterTypesForArraySet System.Type[]
PeekTypeOnStack IType
PopType IType
PropertyAccessorAttributesFor MethodAttributes
PropertyAttributesFor PropertyAttributes
PushArguments void
PushBool void
PushTargetObjectFor void
PushType void
PushVoid void
ResolveRelative string
ResolveRelativePath string
SetBuilder void
SetByRefParam void
SetField void
SetLocal void
SetParamArrayAttribute void
SetProperty void
SetUpAssembly void
ShouldLeaveValueOnStack bool
StoreEntity void
StoreTempLocal LocalBuilder
SystemTypeFrom Type
TryToGetFullPath string
TypeCodeFor TypeCode
UnboxMethodFor MethodInfo

Public Methods

Method Description
Dispose ( ) : void
OnArrayLiteralExpression ( Boo.Lang.Compiler.Ast.ArrayLiteralExpression node ) : void
OnArrayTypeReference ( Boo.Lang.Compiler.Ast.ArrayTypeReference node ) : void
OnAttribute ( Attribute node ) : void
OnBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnBlock ( Block block ) : void
OnBoolLiteralExpression ( BoolLiteralExpression node ) : void
OnBreakStatement ( Boo.Lang.Compiler.Ast.BreakStatement node ) : void
OnCallableDefinition ( Boo.Lang.Compiler.Ast.CallableDefinition node ) : void
OnCastExpression ( Boo.Lang.Compiler.Ast.CastExpression node ) : void
OnCharLiteralExpression ( CharLiteralExpression node ) : void
OnClassDefinition ( ClassDefinition node ) : void
OnConditionalExpression ( Boo.Lang.Compiler.Ast.ConditionalExpression node ) : void
OnConstructor ( Constructor constructor ) : void
OnContinueStatement ( Boo.Lang.Compiler.Ast.ContinueStatement node ) : void
OnDoubleLiteralExpression ( DoubleLiteralExpression node ) : void
OnEnumDefinition ( Boo.Lang.Compiler.Ast.EnumDefinition node ) : void
OnExceptionHandler ( Boo.Lang.Compiler.Ast.ExceptionHandler node ) : void
OnExpressionInterpolationExpression ( Boo.Lang.Compiler.Ast.ExpressionInterpolationExpression node ) : void
OnExpressionStatement ( Boo.Lang.Compiler.Ast.ExpressionStatement node ) : void
OnField ( Boo.Lang.Compiler.Ast.Field node ) : void
OnForStatement ( Boo.Lang.Compiler.Ast.ForStatement node ) : void
OnGeneratorExpression ( Boo.Lang.Compiler.Ast.GeneratorExpression node ) : void
OnGenericReferenceExpression ( GenericReferenceExpression node ) : void
OnGotoStatement ( Boo.Lang.Compiler.Ast.GotoStatement node ) : void
OnHashLiteralExpression ( Boo.Lang.Compiler.Ast.HashLiteralExpression node ) : void
OnIfStatement ( IfStatement node ) : void
OnIntegerLiteralExpression ( IntegerLiteralExpression node ) : void
OnInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : void
OnLabelStatement ( Boo.Lang.Compiler.Ast.LabelStatement node ) : void
OnListLiteralExpression ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : void
OnLocal ( Local local ) : void
OnMacroStatement ( MacroStatement node ) : void
OnMemberReferenceExpression ( Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : void
OnMethod ( Method method ) : void
OnMethodInvocationExpression ( MethodInvocationExpression node ) : void
OnModule ( Module module ) : void
OnNullLiteralExpression ( Boo.Lang.Compiler.Ast.NullLiteralExpression node ) : void
OnRELiteralExpression ( RELiteralExpression node ) : void
OnRaiseStatement ( Boo.Lang.Compiler.Ast.RaiseStatement node ) : void
OnReferenceExpression ( ReferenceExpression node ) : void
OnReturnStatement ( Boo.Lang.Compiler.Ast.ReturnStatement node ) : void
OnSelfLiteralExpression ( Boo.Lang.Compiler.Ast.SelfLiteralExpression node ) : void
OnSlicingExpression ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : void
OnStringLiteralExpression ( Boo.Lang.Compiler.Ast.StringLiteralExpression node ) : void
OnSuperLiteralExpression ( Boo.Lang.Compiler.Ast.SuperLiteralExpression node ) : void
OnTimeSpanLiteralExpression ( TimeSpanLiteralExpression node ) : void
OnTryCastExpression ( TryCastExpression node ) : void
OnTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : void
OnTypeofExpression ( Boo.Lang.Compiler.Ast.TypeofExpression node ) : void
OnUnaryExpression ( UnaryExpression node ) : void
OnUnlessStatement ( Boo.Lang.Compiler.Ast.UnlessStatement node ) : void
OnUnpackStatement ( Boo.Lang.Compiler.Ast.UnpackStatement node ) : void
OnWhileStatement ( Boo.Lang.Compiler.Ast.WhileStatement node ) : void
Run ( ) : void

Protected Methods

Method Description
GetExpressionType ( Expression node ) : IType

Private Methods

Method Description
AnnotateGenericTypeName ( Boo.Lang.Compiler.Ast.TypeDefinition typeDef, string name ) : string
ArgumentsForAttributeConstructor ( IConstructor ctor, Boo.Lang.Compiler.Ast.ExpressionCollection args ) : object[]
BeginMethodBody ( IType returnType ) : void
BuildOutputAssemblyName ( ) : string
Call ( MethodInfo method ) : void
CallArrayMethod ( IType arrayType, string methodName, Type returnType, Type parameterTypes ) : void
CanBeNegative ( Expression expression, bool &isNegative ) : bool
Castclass ( Type expectedSystemType ) : void
CheckConditionalAttributes ( IMethod method ) : bool
CollectTypes ( ) : List
CollectTypes ( List types, TypeMemberCollection members ) : void
ConvertValue ( IType expectedType, object value ) : object
CreateAssemblyName ( string outputFile ) : AssemblyName
CreateByteArrayFromLiteralCollection ( IType type, Boo.Lang.Compiler.Ast.ExpressionCollection items ) : byte[]
CreateDebuggableAttribute ( ) : CustomAttributeBuilder
CreateDuckTypedCustomAttribute ( ) : CustomAttributeBuilder
CreateRuntimeCompatibilityAttribute ( ) : CustomAttributeBuilder
CreateTypeBuilder ( Boo.Lang.Compiler.Ast.TypeDefinition type ) : object
CreateTypes ( List types ) : void
CreateUnverifiableCodeAttribute ( ) : CustomAttributeBuilder
DefineAssemblyAttributes ( ) : void
DefineConstructor ( TypeBuilder typeBuilder, Method constructor ) : void
DefineEntryPoint ( ) : void
DefineEvent ( TypeBuilder typeBuilder, Boo.Lang.Compiler.Ast.Event node ) : void
DefineEventMethod ( TypeBuilder typeBuilder, Method method ) : MethodBuilder
DefineExplicitImplementationInfo ( Method method ) : void
DefineField ( TypeBuilder typeBuilder, Boo.Lang.Compiler.Ast.Field field ) : void
DefineGenericParameter ( InternalGenericParameter parameter, GenericTypeParameterBuilder builder ) : void
DefineGenericParameters ( GenericTypeParameterBuilder builders, Boo.Lang.Compiler.Ast.GenericParameterDeclaration declarations ) : void
DefineGenericParameters ( MethodBuilder builder, Boo.Lang.Compiler.Ast.GenericParameterDeclaration parameters ) : void

Defines the generic parameters of an internal generic method.

DefineGenericParameters ( TypeBuilder builder, Boo.Lang.Compiler.Ast.GenericParameterDeclaration parameters ) : void

Defines the generic parameters of an internal generic type.

DefineGenericParameters ( Boo.Lang.Compiler.Ast.TypeDefinition typeDefinition ) : void
DefineLabels ( Method method ) : void
DefineMethod ( TypeBuilder typeBuilder, Method method, MethodAttributes attributes ) : MethodBuilder
DefineModuleConstructor ( ) : void
DefineParameters ( ConstructorBuilder builder, ParameterDeclarationCollection parameters ) : void
DefineParameters ( MethodBuilder builder, ParameterDeclarationCollection parameters ) : void
DefineParameters ( ParameterDeclarationCollection parameters, ParameterFactory defineParameter ) : void
DefineProperty ( TypeBuilder typeBuilder, Property property ) : void
DefinePropertyAccessor ( TypeBuilder typeBuilder, Property property, Method accessor ) : MethodBuilder
DefineResources ( ) : void
DefineType ( Boo.Lang.Compiler.Ast.TypeDefinition typeDefinition ) : void
DefineTypeMembers ( Boo.Lang.Compiler.Ast.TypeDefinition typeDefinition ) : void
DefineTypes ( ) : void
DiscardValueOnStack ( ) : void
Dup ( ) : void
EmitAddressOf ( UnaryExpression node ) : void
EmitAnd ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitArray ( IType type, Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
EmitAssignment ( InternalLocal tag, IType typeOnStack ) : void
EmitAssignmentToMultiDimensionalArrayElement ( IArrayType arrayType, Boo.Lang.Compiler.Ast.SlicingExpression slice, Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitAssignmentToSingleDimensionalArrayElement ( IArrayType arrayType, Boo.Lang.Compiler.Ast.SlicingExpression slice, Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitAttributes ( ) : void
EmitAttributes ( INodeWithAttributes node, CustomAttributeSetter setCustomAttribute ) : void
EmitBaseTypesAndAttributes ( Boo.Lang.Compiler.Ast.TypeDefinition typeDefinition, TypeBuilder typeBuilder ) : void
EmitBitwiseOperator ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitBox ( IType type ) : void
EmitBoxIfNeeded ( IType expectedType, IType actualType ) : void
EmitBranch ( bool branchOnTrue, Boo.Lang.Compiler.Ast.BinaryExpression expression, Label label ) : void
EmitBranch ( bool branchOnTrue, Expression expression, Label label ) : void
EmitBranch ( bool branchOnTrue, UnaryExpression expression, Label label ) : void
EmitBranchFalse ( Expression expression, Label label ) : void
EmitBranchTrue ( Expression expression, Label label ) : void
EmitCastIfNeeded ( IType expectedType, IType actualType ) : void
EmitConstructorAttributes ( Constructor node ) : void
EmitDebugInfo ( Node node ) : bool
EmitDebugInfo ( Node startNode, Node endNode ) : bool
EmitDefaultBranch ( bool branch, Expression condition, Label label ) : void
EmitDefaultValue ( IType type ) : void
EmitEventAttributes ( Boo.Lang.Compiler.Ast.Event node ) : void
EmitFieldAttributes ( Boo.Lang.Compiler.Ast.TypeMember node ) : void
EmitGenericNot ( ) : void
EmitGetTypeFromHandle ( Type type ) : void
EmitGoTo ( Label label, Node debugInfo ) : void
EmitIndirectAssignment ( InternalLocal local, IType typeOnStack ) : void
EmitIndirection ( UnaryExpression node ) : void
EmitInlineArrayInit ( IType type, Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
EmitIntNot ( ) : void
EmitLoadField ( Expression self, IField fieldInfo ) : void
EmitLoadFieldAddress ( Expression expression, IField field ) : void
EmitLoadLiteral ( IType type, double d ) : void
EmitLoadLiteral ( IType type, long l ) : void
EmitLoadLiteral ( int i ) : void
EmitLoadLiteral ( long l ) : void
EmitLoadLiteralField ( Node node, IField fieldInfo ) : void
EmitLogicalNot ( UnaryExpression node ) : void
EmitLogicalOperator ( Boo.Lang.Compiler.Ast.BinaryExpression node, OpCode brForValueType, OpCode brForRefType ) : void
EmitMethod ( Method method, ILGenerator generator ) : void
EmitMethodAttributes ( Method node ) : void
EmitNewArray ( IType type, Expression length ) : void
EmitNewMatrix ( MethodInvocationExpression node ) : void
EmitNop ( ) : void
EmitNormalizedArrayIndex ( Boo.Lang.Compiler.Ast.SlicingExpression sourceNode, Expression index ) : void
EmitObjectArray ( Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
EmitOnesComplement ( UnaryExpression node ) : void
EmitOr ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitPackedArrayInit ( IType type, Boo.Lang.Compiler.Ast.ExpressionCollection items ) : void
EmitParameterAttributes ( ParameterDeclaration node ) : void
EmitPropertyAttributes ( Property node ) : void
EmitRawBranch ( bool branch, Expression condition, Label label ) : void
EmitRuntimeCoercionIfNeeded ( IType expectedType, IType actualType ) : void
EmitStoreOrPopException ( Boo.Lang.Compiler.Ast.ExceptionHandler node ) : void
EmitToBoolIfNeeded ( Expression expression ) : bool
EmitToBoolIfNeeded ( Expression expression, bool &notContext ) : bool
EmitTypeAttributes ( Boo.Lang.Compiler.Ast.TypeDefinition node ) : void
EmitTypeDefinition ( Boo.Lang.Compiler.Ast.TypeDefinition node ) : void
EmitTypeTest ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
EmitUnaryNegation ( UnaryExpression node ) : void
EmitUnbox ( IType expectedType ) : void
EndMethodBody ( Method method ) : void
EnterLoop ( Label breakLabel, Label continueLabel ) : void
FieldAttributesFor ( Boo.Lang.Compiler.Ast.Field field ) : FieldAttributes
FieldVisibilityAttributeFor ( Boo.Lang.Compiler.Ast.Field field ) : FieldAttributes
FlushAssignmentOperand ( IType elementType, LocalBuilder temp ) : void
GatherAssemblyAttributes ( ) : void
GetArithmeticOpCode ( IType type, BinaryOperatorType op ) : OpCode
GetAssemblyAttribute ( string name ) : Attribute
GetAssemblyAttributeValue ( string name ) : string
GetAssemblyBuilderAccess ( ) : AssemblyBuilderAccess
GetAssemblyKeyPair ( string outputFile ) : StrongNameKeyPair
GetAssemblySimpleName ( string fname ) : string
GetAssemblyVersion ( ) : System.Version
GetBuilder ( Node node ) : object
GetCachedDocumentWriter ( string fname ) : ISymbolDocumentWriter
GetCallOpCode ( Expression target, IMethod method ) : OpCode
GetComplexExpressionValue ( IType expectedType, Expression expression ) : object
GetConditionalSymbols ( ExternalMethod method ) : IEnumerable
GetConditionalSymbols ( IMethod method ) : IEnumerable
GetConditionalSymbols ( Boo.Lang.Compiler.TypeSystem.InternalMethod method ) : IEnumerable
GetConstructedMethodInfo ( IConstructedMethodInfo constructedInfo ) : MethodInfo

Retrieves the MethodInfo for a generic constructed method.

GetConstructedMethodInfo ( IType targetType, MethodInfo mi ) : MethodInfo
GetConstructorBuilder ( Method method ) : ConstructorBuilder
GetConstructorInfo ( IConstructor entity ) : ConstructorInfo
GetCustomAttributeBuilder ( Attribute node ) : CustomAttributeBuilder
GetDefaultValueHolder ( IType type ) : LocalBuilder
GetDocumentWriter ( string fname ) : ISymbolDocumentWriter
GetEnumUnderlyingType ( Boo.Lang.Compiler.Ast.EnumDefinition node ) : Type
GetEnumUnderlyingType ( IType enumType ) : Type
GetExpectedTypeForBitwiseRightOperand ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : IType
GetExtendedTypeAttributes ( TypeAttributes attributes, Boo.Lang.Compiler.Ast.TypeMember type ) : TypeAttributes
GetFieldBuilder ( Node node ) : FieldBuilder
GetFieldInfo ( IField tag ) : FieldInfo
GetFieldRequiredCustomModifiers ( Boo.Lang.Compiler.Ast.Field field ) : System.Type[]
GetFromDecimalConversionMethod ( IType type ) : MethodInfo
GetInternalFieldStaticValue ( Boo.Lang.Compiler.TypeSystem.InternalField field ) : object
GetInternalLocal ( Node local ) : InternalLocal
GetLoadEntityOpCode ( IType type ) : OpCode
GetLoadRefParamCode ( IType tag ) : OpCode
GetLocalBuilder ( Node local ) : LocalBuilder
GetMappedConstructorInfo ( IType targetType, IConstructor source ) : ConstructorInfo

Retrieves the ConstructorInfo for a constructor as mapped on a generic type.

GetMappedFieldInfo ( IType targetType, IField source ) : FieldInfo

Retrieves the FieldInfo for a field as mapped on a generic type.

GetMappedMethodInfo ( IType targetType, IMethod source ) : MethodInfo

Retrieves the MethodInfo for a method as mapped on a generic type.

GetMethodAttributes ( Method method ) : MethodAttributes
GetMethodBuilder ( Method method ) : MethodBuilder
GetMethodInfo ( IMethod entity ) : MethodInfo
GetNamedValues ( Boo.Lang.Compiler.Ast.ExpressionPairCollection values, PropertyInfo &outNamedProperties, object &outPropertyValues, FieldInfo &outNamedFields, object &outFieldValues ) : void
GetNestedTypeAccessibility ( Boo.Lang.Compiler.Ast.TypeMember type ) : TypeAttributes
GetNestedTypeAttributes ( Boo.Lang.Compiler.Ast.TypeMember type ) : TypeAttributes
GetNullableHasValue ( Type type ) : MethodInfo
GetNumericPromotionOpCode ( IType type ) : OpCode
GetParameterAttributes ( ParameterDeclaration param ) : ParameterAttributes
GetParameterTypes ( ParameterDeclarationCollection parameters ) : System.Type[]
GetPropertyBuilder ( Node node ) : PropertyBuilder
GetPropertyInfo ( IEntity tag ) : PropertyInfo
GetStaticValue ( IField field ) : object
GetStoreEntityOpCode ( IType tag ) : OpCode
GetStoreRefParamCode ( IType tag ) : OpCode
GetSystemType ( IType entity ) : Type
GetSystemType ( Node node ) : Type
GetTargetDirectory ( string fname ) : string
GetTargetObject ( MethodInvocationExpression node ) : Expression
GetToDecimalConversionMethod ( IType type ) : MethodInfo
GetTypeAttributes ( Boo.Lang.Compiler.Ast.TypeMember type ) : TypeAttributes
GetTypeBuilder ( Node node ) : TypeBuilder
GetTypeVisibilityAttributes ( Boo.Lang.Compiler.Ast.TypeMember type ) : TypeAttributes
GetValue ( IType expectedType, Expression expression ) : object
HasDllOrExeExtension ( string fname ) : bool
ImplementationFlagsFor ( Method method ) : MethodImplAttributes
InTryInLoop ( ) : bool
InitializerValueOf ( EnumMember enumMember, Boo.Lang.Compiler.Ast.EnumDefinition enumType ) : object
InvokeMethod ( IMethod method, MethodInvocationExpression node ) : void
InvokeOptimizedMethod ( IMethod method, MethodInfo mi, MethodInvocationExpression node ) : bool
InvokeRegularMethod ( IMethod method, MethodInfo mi, MethodInvocationExpression node ) : void
InvokeSuperMethod ( IMethod method, MethodInvocationExpression node ) : void
IsAssignableFrom ( IType expectedType, IType actualType ) : bool
IsBoolOrInt ( IType type ) : bool
IsBooleanLiteral ( Expression expression, bool value ) : bool
IsByAddress ( IType type ) : bool
IsCheckedIntegerOperand ( IType operandType ) : bool
IsEnumDefinition ( Boo.Lang.Compiler.Ast.TypeMember type ) : bool
IsFalse ( Expression expression ) : bool
IsInteger ( IType type ) : bool
IsLong ( IType type ) : bool
IsNull ( Expression expression ) : bool
IsNumberLiteral ( Expression expression, int value ) : bool
IsOneEquivalent ( Expression expression ) : bool
IsPInvoke ( Method method ) : bool
IsPtr ( IType type ) : bool
IsStobj ( OpCode code ) : bool
IsValueType ( Boo.Lang.Compiler.Ast.TypeMember type ) : bool
IsValueTypeArraySlicing ( Expression expression ) : bool
IsValueTypeMethodCall ( Expression target, IMethod method ) : bool
IsVoid ( IType type ) : bool
IsZero ( Expression expression ) : bool
IsZeroEquivalent ( Expression expression ) : bool
Isinst ( Type type ) : void
LabelFor ( Expression expression ) : Label
LabelsOn ( Method method ) : InternalLabel[]
LeaveLoop ( ) : void
LoadAddress ( Expression expression ) : void
LoadAddressForInitObj ( Expression argument ) : void
LoadArrayElementAddress ( Boo.Lang.Compiler.Ast.SlicingExpression slicing ) : void
LoadArrayIndices ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : void
LoadAssignmentOperand ( IType elementType, Boo.Lang.Compiler.Ast.BinaryExpression node ) : LocalBuilder
LoadCmpOperands ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
LoadExpressionWithType ( IType expectedType, Expression expression ) : void
LoadIndirectLocal ( InternalLocal local ) : void
LoadIntExpression ( Expression expression ) : void
LoadLocal ( InternalLocal local ) : void
LoadLocal ( InternalLocal local, bool byAddress ) : void
LoadLocal ( LocalBuilder local, IType localType ) : void
LoadMemberTarget ( Expression self, IMember member ) : void
LoadMultiDimensionalArrayElement ( Boo.Lang.Compiler.Ast.SlicingExpression node, IArrayType arrayType ) : void
LoadMultiDimensionalArrayElementAddress ( Boo.Lang.Compiler.Ast.SlicingExpression slicing, IArrayType arrayType ) : void
LoadOperandsWithType ( IType type, Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
LoadParam ( InternalParameter param ) : void
LoadSelf ( Expression node ) : void
LoadSingleDimensionalArrayElement ( Boo.Lang.Compiler.Ast.SlicingExpression node, IType arrayType ) : void
LoadSingleDimensionalArrayElementAddress ( Boo.Lang.Compiler.Ast.SlicingExpression slicing, IArrayType arrayType ) : void
MethodAttributesFor ( Boo.Lang.Compiler.Ast.TypeMember member ) : MethodAttributes
MethodVisibilityAttributesFor ( Boo.Lang.Compiler.Ast.TypeMember member ) : MethodAttributes
NotImplemented ( string feature ) : void
NumericPromotionOpcodeFor ( TypeCode typeCode, bool @checked ) : OpCode
OnAddressOf ( MethodInvocationExpression node ) : void
OnArithmeticOperator ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnAssignment ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnAssignmentToSlice ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnBuiltinFunction ( BuiltinFunction function, MethodInvocationExpression node ) : void
OnEquality ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnEval ( MethodInvocationExpression node ) : void
OnExponentiation ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnGreaterThan ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnGreaterThanOrEqual ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnInequality ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnInitValueType ( MethodInvocationExpression node ) : void
OnLessThan ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnLessThanOrEqual ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnReferenceComparison ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OnSwitch ( MethodInvocationExpression node ) : void
OnTypeTest ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
OperatorNotImplemented ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
ParameterTypesForArrayGet ( IArrayType arrayType ) : System.Type[]
ParameterTypesForArraySet ( IArrayType arrayType ) : System.Type[]
PeekTypeOnStack ( ) : IType
PopType ( ) : IType
PropertyAccessorAttributesFor ( Boo.Lang.Compiler.Ast.TypeMember property ) : MethodAttributes
PropertyAttributesFor ( Property property ) : PropertyAttributes
PushArguments ( IMethodBase entity, Boo.Lang.Compiler.Ast.ExpressionCollection args ) : void
PushBool ( ) : void
PushTargetObjectFor ( MethodInfo methodToBeInvoked, Expression target, IType targetType ) : void
PushType ( IType type ) : void
PushVoid ( ) : void
ResolveRelative ( string targetFile, string srcFile, string relativeFile ) : string
ResolveRelativePath ( string srcFile, string relativeFile ) : string
SetBuilder ( Node node, object builder ) : void
SetByRefParam ( InternalParameter param, Expression right, bool leaveValueOnStack ) : void
SetField ( Node sourceNode, IField field, Expression reference, Expression value, bool leaveValueOnStack ) : void
SetLocal ( BinaryExpression node, InternalLocal tag, bool leaveValueOnStack ) : void
SetParamArrayAttribute ( ParameterBuilder builder ) : void
SetProperty ( IProperty property, Expression reference, Expression value, bool leaveValueOnStack ) : void
SetUpAssembly ( ) : void
ShouldLeaveValueOnStack ( Expression node ) : bool
StoreEntity ( OpCode opcode, int index, Expression value, IType elementType ) : void
StoreTempLocal ( IType elementType ) : LocalBuilder
SystemTypeFrom ( IType entity ) : Type
TryToGetFullPath ( string path ) : string
TypeCodeFor ( IType type ) : TypeCode
UnboxMethodFor ( IType type ) : MethodInfo

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetExpressionType() protected method

protected GetExpressionType ( Expression node ) : IType
node Boo.Lang.Compiler.Ast.Expression
return IType

OnArrayLiteralExpression() public method

public OnArrayLiteralExpression ( Boo.Lang.Compiler.Ast.ArrayLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.ArrayLiteralExpression
return void

OnArrayTypeReference() public method

public OnArrayTypeReference ( Boo.Lang.Compiler.Ast.ArrayTypeReference node ) : void
node Boo.Lang.Compiler.Ast.ArrayTypeReference
return void

OnAttribute() public method

public OnAttribute ( Attribute node ) : void
node Boo.Lang.Compiler.Ast.Attribute
return void

OnBinaryExpression() public method

public OnBinaryExpression ( Boo.Lang.Compiler.Ast.BinaryExpression node ) : void
node Boo.Lang.Compiler.Ast.BinaryExpression
return void

OnBlock() public method

public OnBlock ( Block block ) : void
block Boo.Lang.Compiler.Ast.Block
return void

OnBoolLiteralExpression() public method

public OnBoolLiteralExpression ( BoolLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.BoolLiteralExpression
return void

OnBreakStatement() public method

public OnBreakStatement ( Boo.Lang.Compiler.Ast.BreakStatement node ) : void
node Boo.Lang.Compiler.Ast.BreakStatement
return void

OnCallableDefinition() public method

public OnCallableDefinition ( Boo.Lang.Compiler.Ast.CallableDefinition node ) : void
node Boo.Lang.Compiler.Ast.CallableDefinition
return void

OnCastExpression() public method

public OnCastExpression ( Boo.Lang.Compiler.Ast.CastExpression node ) : void
node Boo.Lang.Compiler.Ast.CastExpression
return void

OnCharLiteralExpression() public method

public OnCharLiteralExpression ( CharLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.CharLiteralExpression
return void

OnClassDefinition() public method

public OnClassDefinition ( ClassDefinition node ) : void
node Boo.Lang.Compiler.Ast.ClassDefinition
return void

OnConditionalExpression() public method

public OnConditionalExpression ( Boo.Lang.Compiler.Ast.ConditionalExpression node ) : void
node Boo.Lang.Compiler.Ast.ConditionalExpression
return void

OnConstructor() public method

public OnConstructor ( Constructor constructor ) : void
constructor Boo.Lang.Compiler.Ast.Constructor
return void

OnContinueStatement() public method

public OnContinueStatement ( Boo.Lang.Compiler.Ast.ContinueStatement node ) : void
node Boo.Lang.Compiler.Ast.ContinueStatement
return void

OnDoubleLiteralExpression() public method

public OnDoubleLiteralExpression ( DoubleLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.DoubleLiteralExpression
return void

OnEnumDefinition() public method

public OnEnumDefinition ( Boo.Lang.Compiler.Ast.EnumDefinition node ) : void
node Boo.Lang.Compiler.Ast.EnumDefinition
return void

OnExceptionHandler() public method

public OnExceptionHandler ( Boo.Lang.Compiler.Ast.ExceptionHandler node ) : void
node Boo.Lang.Compiler.Ast.ExceptionHandler
return void

OnExpressionInterpolationExpression() public method

public OnExpressionInterpolationExpression ( Boo.Lang.Compiler.Ast.ExpressionInterpolationExpression node ) : void
node Boo.Lang.Compiler.Ast.ExpressionInterpolationExpression
return void

OnExpressionStatement() public method

public OnExpressionStatement ( Boo.Lang.Compiler.Ast.ExpressionStatement node ) : void
node Boo.Lang.Compiler.Ast.ExpressionStatement
return void

OnField() public method

public OnField ( Boo.Lang.Compiler.Ast.Field node ) : void
node Boo.Lang.Compiler.Ast.Field
return void

OnForStatement() public method

public OnForStatement ( Boo.Lang.Compiler.Ast.ForStatement node ) : void
node Boo.Lang.Compiler.Ast.ForStatement
return void

OnGeneratorExpression() public method

public OnGeneratorExpression ( Boo.Lang.Compiler.Ast.GeneratorExpression node ) : void
node Boo.Lang.Compiler.Ast.GeneratorExpression
return void

OnGenericReferenceExpression() public method

public OnGenericReferenceExpression ( GenericReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.GenericReferenceExpression
return void

OnGotoStatement() public method

public OnGotoStatement ( Boo.Lang.Compiler.Ast.GotoStatement node ) : void
node Boo.Lang.Compiler.Ast.GotoStatement
return void

OnHashLiteralExpression() public method

public OnHashLiteralExpression ( Boo.Lang.Compiler.Ast.HashLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.HashLiteralExpression
return void

OnIfStatement() public method

public OnIfStatement ( IfStatement node ) : void
node Boo.Lang.Compiler.Ast.IfStatement
return void

OnIntegerLiteralExpression() public method

public OnIntegerLiteralExpression ( IntegerLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.IntegerLiteralExpression
return void

OnInterfaceDefinition() public method

public OnInterfaceDefinition ( Boo.Lang.Compiler.Ast.InterfaceDefinition node ) : void
node Boo.Lang.Compiler.Ast.InterfaceDefinition
return void

OnLabelStatement() public method

public OnLabelStatement ( Boo.Lang.Compiler.Ast.LabelStatement node ) : void
node Boo.Lang.Compiler.Ast.LabelStatement
return void

OnListLiteralExpression() public method

public OnListLiteralExpression ( Boo.Lang.Compiler.Ast.ListLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.ListLiteralExpression
return void

OnLocal() public method

public OnLocal ( Local local ) : void
local Local
return void

OnMacroStatement() public method

public OnMacroStatement ( MacroStatement node ) : void
node Boo.Lang.Compiler.Ast.MacroStatement
return void

OnMemberReferenceExpression() public method

public OnMemberReferenceExpression ( Boo.Lang.Compiler.Ast.MemberReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.MemberReferenceExpression
return void

OnMethod() public method

public OnMethod ( Method method ) : void
method Boo.Lang.Compiler.Ast.Method
return void

OnMethodInvocationExpression() public method

public OnMethodInvocationExpression ( MethodInvocationExpression node ) : void
node Boo.Lang.Compiler.Ast.MethodInvocationExpression
return void

OnModule() public method

public OnModule ( Module module ) : void
module Boo.Lang.Compiler.Ast.Module
return void

OnNullLiteralExpression() public method

public OnNullLiteralExpression ( Boo.Lang.Compiler.Ast.NullLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.NullLiteralExpression
return void

OnRELiteralExpression() public method

public OnRELiteralExpression ( RELiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.RELiteralExpression
return void

OnRaiseStatement() public method

public OnRaiseStatement ( Boo.Lang.Compiler.Ast.RaiseStatement node ) : void
node Boo.Lang.Compiler.Ast.RaiseStatement
return void

OnReferenceExpression() public method

public OnReferenceExpression ( ReferenceExpression node ) : void
node Boo.Lang.Compiler.Ast.ReferenceExpression
return void

OnReturnStatement() public method

public OnReturnStatement ( Boo.Lang.Compiler.Ast.ReturnStatement node ) : void
node Boo.Lang.Compiler.Ast.ReturnStatement
return void

OnSelfLiteralExpression() public method

public OnSelfLiteralExpression ( Boo.Lang.Compiler.Ast.SelfLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.SelfLiteralExpression
return void

OnSlicingExpression() public method

public OnSlicingExpression ( Boo.Lang.Compiler.Ast.SlicingExpression node ) : void
node Boo.Lang.Compiler.Ast.SlicingExpression
return void

OnStringLiteralExpression() public method

public OnStringLiteralExpression ( Boo.Lang.Compiler.Ast.StringLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.StringLiteralExpression
return void

OnSuperLiteralExpression() public method

public OnSuperLiteralExpression ( Boo.Lang.Compiler.Ast.SuperLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.SuperLiteralExpression
return void

OnTimeSpanLiteralExpression() public method

public OnTimeSpanLiteralExpression ( TimeSpanLiteralExpression node ) : void
node Boo.Lang.Compiler.Ast.TimeSpanLiteralExpression
return void

OnTryCastExpression() public method

public OnTryCastExpression ( TryCastExpression node ) : void
node Boo.Lang.Compiler.Ast.TryCastExpression
return void

OnTryStatement() public method

public OnTryStatement ( Boo.Lang.Compiler.Ast.TryStatement node ) : void
node Boo.Lang.Compiler.Ast.TryStatement
return void

OnTypeofExpression() public method

public OnTypeofExpression ( Boo.Lang.Compiler.Ast.TypeofExpression node ) : void
node Boo.Lang.Compiler.Ast.TypeofExpression
return void

OnUnaryExpression() public method

public OnUnaryExpression ( UnaryExpression node ) : void
node Boo.Lang.Compiler.Ast.UnaryExpression
return void

OnUnlessStatement() public method

public OnUnlessStatement ( Boo.Lang.Compiler.Ast.UnlessStatement node ) : void
node Boo.Lang.Compiler.Ast.UnlessStatement
return void

OnUnpackStatement() public method

public OnUnpackStatement ( Boo.Lang.Compiler.Ast.UnpackStatement node ) : void
node Boo.Lang.Compiler.Ast.UnpackStatement
return void

OnWhileStatement() public method

public OnWhileStatement ( Boo.Lang.Compiler.Ast.WhileStatement node ) : void
node Boo.Lang.Compiler.Ast.WhileStatement
return void

Run() public method

public Run ( ) : void
return void