C# Class IronRuby.Builtins.LibraryInitializer

Show file Open project: jschementi/iron

Public Methods

Method Description
DefineRuleGenerator ( RubyModule module, string name, int attributes, RuleGenerator generator ) : void
GetBuiltinsFullTypeName ( ) : string
GetFullTypeName ( string libraryNamespace ) : string
GetTypeName ( string libraryNamespace ) : string
SetBuiltinConstant ( RubyModule module, string name, object value ) : void
SetConstant ( RubyModule module, string name, object value ) : void

Protected Methods

Method Description
DefineClass ( string name, Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
DefineGlobalClass ( string name, Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
DefineGlobalClass ( string name, Type type, int attributes, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins, Delegate factory ) : RubyClass
DefineGlobalModule ( string name, Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyModule
DefineModule ( string name, Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer ) : RubyModule
DefineSingleton ( Action instanceTrait, Action classTrait, Action constantsInitializer ) : object
ExtendClass ( Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
ExtendModule ( Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer ) : RubyModule
GetClass ( Type type ) : RubyClass
GetModule ( Type type ) : RubyModule
LibraryInitializer ( ) : System
LoadModules ( ) : void

Private Methods

Method Description
DefineLibraryMethod ( RubyModule module, string name, int attributes, LibraryOverload overloads ) : void
DefineLibraryMethod ( RubyModule module, string name, int attributes, uint overloadAttributes ) : void
DefineLibraryMethod ( RubyModule module, string name, int attributes, uint overloadAttributes1, Delegate overload1 ) : void
DefineLibraryMethod ( RubyModule module, string name, int attributes, uint overloadAttributes1, uint overloadAttributes2, Delegate overload1, Delegate overload2 ) : void
DefineLibraryMethod ( RubyModule module, string name, int attributes, uint overloadAttributes1, uint overloadAttributes2, uint overloadAttributes3, Delegate overload1, Delegate overload2, Delegate overload3 ) : void
DefineLibraryMethod ( RubyModule module, string name, int attributes, uint overloadAttributes1, uint overloadAttributes2, uint overloadAttributes3, uint overloadAttributes4, Delegate overload1, Delegate overload2, Delegate overload3, Delegate overload4 ) : void
LoadModules ( RubyContext context, bool builtin ) : void
PublishModule ( string name, RubyModule module ) : void
SetLibraryMethod ( RubyModule module, string name, RubyMemberInfo method, bool noEvent ) : void
SkipDefinition ( RubyModule module, int attributes ) : bool

Method Details

DefineClass() protected method

protected DefineClass ( string name, Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
name string
type System.Type
restrictions int
super RubyClass
instanceTrait Action
classTrait Action
constantsInitializer Action
mixins RubyModule
return RubyClass

DefineGlobalClass() protected method

protected DefineGlobalClass ( string name, Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
name string
type System.Type
restrictions int
super RubyClass
instanceTrait Action
classTrait Action
constantsInitializer Action
mixins RubyModule
return RubyClass

DefineGlobalClass() protected method

protected DefineGlobalClass ( string name, Type type, int attributes, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins, Delegate factory ) : RubyClass
name string
type System.Type
attributes int
super RubyClass
instanceTrait Action
classTrait Action
constantsInitializer Action
mixins RubyModule
factory System.Delegate
return RubyClass

DefineGlobalModule() protected method

protected DefineGlobalModule ( string name, Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyModule
name string
type System.Type
restrictions int
instanceTrait Action
classTrait Action
constantsInitializer Action
mixins RubyModule
return RubyModule

DefineModule() protected method

protected DefineModule ( string name, Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer ) : RubyModule
name string
type System.Type
restrictions int
instanceTrait Action
classTrait Action
constantsInitializer Action
return RubyModule

DefineRuleGenerator() public static method

public static DefineRuleGenerator ( RubyModule module, string name, int attributes, RuleGenerator generator ) : void
module RubyModule
name string
attributes int
generator RuleGenerator
return void

DefineSingleton() protected method

protected DefineSingleton ( Action instanceTrait, Action classTrait, Action constantsInitializer ) : object
instanceTrait Action
classTrait Action
constantsInitializer Action
return object

ExtendClass() protected method

protected ExtendClass ( Type type, int restrictions, RubyClass super, Action instanceTrait, Action classTrait, Action constantsInitializer, RubyModule mixins ) : RubyClass
type System.Type
restrictions int
super RubyClass
instanceTrait Action
classTrait Action
constantsInitializer Action
mixins RubyModule
return RubyClass

ExtendModule() protected method

protected ExtendModule ( Type type, int restrictions, Action instanceTrait, Action classTrait, Action constantsInitializer ) : RubyModule
type Type
restrictions int
instanceTrait Action
classTrait Action
constantsInitializer Action
return RubyModule

GetBuiltinsFullTypeName() public static method

public static GetBuiltinsFullTypeName ( ) : string
return string

GetClass() protected method

protected GetClass ( Type type ) : RubyClass
type Type
return RubyClass

GetFullTypeName() public static method

public static GetFullTypeName ( string libraryNamespace ) : string
libraryNamespace string
return string

GetModule() protected method

protected GetModule ( Type type ) : RubyModule
type Type
return RubyModule

GetTypeName() public static method

public static GetTypeName ( string libraryNamespace ) : string
libraryNamespace string
return string

LibraryInitializer() protected method

protected LibraryInitializer ( ) : System
return System

LoadModules() protected method

protected LoadModules ( ) : void
return void

SetBuiltinConstant() public static method

public static SetBuiltinConstant ( RubyModule module, string name, object value ) : void
module RubyModule
name string
value object
return void

SetConstant() public static method

public static SetConstant ( RubyModule module, string name, object value ) : void
module RubyModule
name string
value object
return void