Property | Type | Description | |
---|---|---|---|
Id | int |
Method | Description | |
---|---|---|
AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
AddMethodAlias ( string newName, string oldName ) : void | ||
CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, |
||
EnumerateClassVariables ( Func |
||
EnumerateConstants ( Func |
||
EnumerateMethods ( Func |
||
ExpandMixinsNoLock ( |
||
ForEachAncestor ( bool inherited, bool>.Func |
||
ForEachClassVariable ( bool inherited, Func |
||
ForEachConstant ( bool inherited, Func |
||
ForEachInstanceMethod ( bool inherited, Func |
||
ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action |
||
ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable |
inherited == false, attributes & attr == Instance: - get methods in the "self" module - also include methods on singleton ancestor classes until a non-singleton class is reached inherited == false, attributes & attr == Singleton: - get methods only in the "self" module if it's a singleton class - do not visit mixins nor super classes inherited == true, attributes & attr == Singleton: - walk all ancestors until a non-singleton class is reached (do not include non-singleton's methods) inherited == true, attributes & attr == None: - walk all ancestors until an Object is reached Methods are filtered by visibility specified in attributes (mutliple visibilities could be specified). A name undefined in a module is not visible in that module and its ancestors. Method names are not duplicated in the result. Not thread safe. |
|
Freeze ( ) : void | ||
GetAutoloadedConstantPath ( string name ) : MutableString | ||
GetDisplayName ( RubyContext context, bool showEmptyName ) : MutableString | ||
GetInstanceData ( ) : |
||
GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo | ||
GetMixins ( ) : IronRuby.Builtins.RubyModule[] | ||
GetName ( RubyContext context ) : string | ||
GetOrCreateSingletonClass ( ) : |
||
GetUnderlyingSystemType ( ) : |
||
HasAncestor ( |
||
HasAncestorNoLock ( |
||
HideMethod ( string name ) : void | ||
IncludeModules ( ) : void | ||
InitializeModuleCopy ( |
||
IsModuleType ( |
Returns true if the CLR type is treated as Ruby module (as opposed to a Ruby class)
|
|
MakeNestedModuleName ( string nestedModuleSimpleName ) : string | ||
MethodAdded ( string name ) : void | ||
RemoveClassVariable ( string name ) : bool | ||
RemoveMethod ( string name ) : bool | ||
ResolveMethod ( string name, |
||
ResolveMethodForSite ( string name, |
||
ResolveMethodForSiteNoLock ( string name, |
||
ResolveMethodNoLock ( string name, |
||
ResolveMethodNoLock ( string name, |
||
ResolveSuperMethodNoLock ( string name, |
||
RubyModule ( |
||
SetAutoloadedConstant ( string name, MutableString path ) : void | ||
SetClassVariable ( string name, object value ) : void | ||
SetConstant ( string name, object value ) : void | ||
SetConstantChecked ( string name, object value ) : bool |
Sets constant of this module. Returns true if the constant is already defined in the module and it is not an autoloaded constant. Thread safe. |
|
SetDefinedMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void | ||
SetMethodNoEvent ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
SetMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
SetModuleFunctionNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
SetVisibilityNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void | ||
ToString ( ) : string | ||
TryGetClassVariable ( string name, object &value ) : bool | ||
TryGetConstant ( |
||
TryGetInstanceData ( ) : |
||
TryRemoveConstant ( string name, object &value ) : bool | ||
TryResolveClassVariable ( string name, object &value ) : |
||
UndefineMethod ( string name ) : void | ||
UndefineMethodNoEvent ( string name ) : void |
Method | Description | |
---|---|---|
EnumerateClrMembers ( |
||
RubyModule ( |
||
TryGetClrMember ( |
Method | Description | |
---|---|---|
AddDependentClass ( |
||
AddExtensionMethodsNoLock ( List |
||
AddMethodNoCacheInvalidation ( string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void |
Direct addition to the method table. Used only for core method table operations. Do not use unless absolutely sure there is no overriding method used in a dynamic site.
|
|
ConstantMissing ( string name ) : object | ||
CreateSingletonClass ( |
Create a new singleton class for this module. Doesn't attach this module to it yet, the caller needs to do so. Thread safe. |
|
ExpandMixinsNoLock ( |
||
ExpandMixinsNoLock ( |
||
ForEachAncestor ( bool>.Func |
||
ForEachDeclaredAncestor ( bool>.Func |
||
ForEachRecursivelyDependentClass ( bool>.Func |
Calls given action on all modules that are directly or indirectly nested into this module.
|
|
GetImplementedInterfaces ( ) : List |
||
GetMethods ( ) : RubyMemberInfo>>.IEnumerable |
||
GetSuperClass ( ) : |
||
GetUninitializedAncestors ( bool methods ) : List |
||
IDuplicable ( RubyContext context, bool copySingletonMembers ) : object | ||
IRubyObject ( object other ) : bool | ||
IRubyObject ( ) : int | ||
IRubyObject ( ) : string | ||
IncludeLibraryModule ( Action |
||
IncludeModulesNoLock ( |
||
IncludeTraitNoLock ( Action |
||
IncrementMethodVersion ( ) : void | ||
InitializeClassVariableTable ( ) : void | ||
InitializeConstantTableNoLock ( ) : void | ||
InitializeConstantsNoLock ( ) : void | ||
InitializeConstantsNoLock ( IList |
||
InitializeDependencies ( ) : void | ||
InitializeImmediateClass ( |
||
InitializeImmediateClass ( |
||
InitializeMembersFrom ( |
||
InitializeMethodTableNoLock ( ) : void | ||
InitializeMethodsNoLock ( ) : void | ||
InitializeMethodsNoLock ( IList |
||
InitializeNewMixin ( |
||
InvalidateGroupsInDependentClasses ( string methodName, int maxLevel ) : int | ||
IsMethodVisible ( IronRuby.Runtime.Calls.RubyMemberInfo method, |
||
IsPartiallyInstantiated ( |
||
IsSuperClassAncestor ( |
Returns true if given module is an ancestor of the superclass of this class (provided that this is a class).
|
|
LoadNestedTypes ( ) : void | ||
MethodRemoved ( string name ) : void | ||
MethodUndefined ( string name ) : void | ||
MethodsUpdated ( string reason ) : void | ||
MixinsUpdated ( |
||
Mutate ( ) : void | ||
OwnedMethodCachedInSite ( ) : void | ||
PrepareExtensionMethodsUpdate ( List |
||
PrepareMethodUpdate ( string methodName, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
Publish ( string name ) : void | ||
RemoveMethodNoCacheInvalidation ( string name ) : bool |
Direct removal from the method table. Used only for core method table operations.
|
|
RemoveMethodNoEvent ( string name ) : bool | ||
ResolveMethodForSiteNoLock ( string name, |
||
RubyModule ( RubyContext context, string name, Action |
||
SetConstantNoLock ( string name, object value ) : void | ||
SetConstantNoMutateNoLock ( string name, object value ) : void | ||
SetMethodNoMutateNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
TryGetClrMember ( string name, bool virtualLookup, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool | ||
TryGetConstant ( |
Get constant defined in this module.
|
|
TryGetConstantNoAutoloadCheck ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool | ||
TryGetConstantNoAutoloadNoInit ( string name, IronRuby.Runtime.ConstantStorage &storage ) : bool | ||
TryGetConstantNoLock ( |
Get constant defined in this module.
|
|
TryGetDefinedMethod ( string name, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool | ||
TryGetDefinedMethod ( string name, bool &skipHidden, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool | ||
TryGetMethod ( string name, bool &skipHidden, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool | ||
TryGetMethod ( string name, bool &skipHidden, bool virtualLookup, IronRuby.Runtime.Calls.RubyMemberInfo &method ) : bool | ||
TryLookupConstantNoLock ( bool included, bool inherited, |
||
TryRemoveConstantNoLock ( string name, object &value ) : bool | ||
TryResolveConstant ( RubyContext callerContext, |
||
TryResolveConstant ( |
Get constant defined in this module or any of its ancestors. Autoloads if autoloadScope is not null. Thread safe. |
|
TryResolveConstantNoAutoloadCheck ( bool inherited, string name, IronRuby.Runtime.ConstantStorage &value ) : |
||
TryResolveConstantNoLock ( |
Get constant defined in this module or any of its ancestors.
|
public AddMethod ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
return | void |
public AddMethodAlias ( string newName, string oldName ) : void | ||
newName | string | |
oldName | string | |
return | void |
public static CreateAnonymousModule ( IronRuby.Runtime.RubyScope scope, |
||
scope | IronRuby.Runtime.RubyScope | |
body | ||
self | ||
return | object |
public EnumerateClassVariables ( Func |
||
action | Func |
|
return | bool |
protected EnumerateClrMembers ( |
||
type | ||
return | IEnumerable |
public EnumerateConstants ( Func |
||
action | Func |
|
return | bool |
public EnumerateMethods ( Func |
||
action | Func |
|
return | bool |
public static ExpandMixinsNoLock ( |
||
superClass | ||
modules | ||
return | IronRuby.Builtins.RubyModule[] |
public ForEachAncestor ( bool inherited, bool>.Func |
||
inherited | bool | |
action | bool>.Func | |
return | bool |
public ForEachClassVariable ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
return | void |
public ForEachConstant ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
return | void |
public ForEachInstanceMethod ( bool inherited, Func |
||
inherited | bool | |
action | Func |
|
return | void |
public ForEachMember ( bool inherited, RubyMethodAttributes attributes, Action |
||
inherited | bool | |
attributes | RubyMethodAttributes | |
action | Action |
|
return | void |
public ForEachMember ( bool inherited, RubyMethodAttributes attributes, IEnumerable |
||
inherited | bool | |
attributes | RubyMethodAttributes | |
foreignMembers | IEnumerable |
|
action | Action |
|
return | void |
public GetAutoloadedConstantPath ( string name ) : MutableString | ||
name | string | |
return | MutableString |
public GetDisplayName ( RubyContext context, bool showEmptyName ) : MutableString | ||
context | RubyContext | |
showEmptyName | bool | |
return | MutableString |
public GetInstanceData ( ) : |
||
return |
public GetMethod ( string name ) : IronRuby.Runtime.Calls.RubyMemberInfo | ||
name | string | |
return | IronRuby.Runtime.Calls.RubyMemberInfo |
public GetMixins ( ) : IronRuby.Builtins.RubyModule[] | ||
return | IronRuby.Builtins.RubyModule[] |
public GetName ( RubyContext context ) : string | ||
context | RubyContext | |
return | string |
public GetOrCreateSingletonClass ( ) : |
||
return |
public GetUnderlyingSystemType ( ) : |
||
return |
public HasAncestor ( |
||
module | ||
return | bool |
public HasAncestorNoLock ( |
||
module | ||
return | bool |
public InitializeModuleCopy ( |
||
module | ||
return | void |
public static IsModuleType ( |
||
type | ||
return | bool |
public MakeNestedModuleName ( string nestedModuleSimpleName ) : string | ||
nestedModuleSimpleName | string | |
return | string |
public RemoveClassVariable ( string name ) : bool | ||
name | string | |
return | bool |
public ResolveMethod ( string name, |
||
name | string | |
visibility | ||
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodForSite ( string name, |
||
name | string | |
visibility | ||
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodForSiteNoLock ( string name, |
||
name | string | |
visibility | ||
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodNoLock ( string name, |
||
name | string | |
visibility | ||
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveMethodNoLock ( string name, |
||
name | string | |
visibility | ||
options | MethodLookup | |
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public ResolveSuperMethodNoLock ( string name, |
||
name | string | |
callerModule | ||
return | IronRuby.Runtime.Calls.MethodResolutionResult |
public RubyModule ( |
||
metaModuleClass | ||
return | System |
protected RubyModule ( |
||
metaModuleClass | ||
name | string | |
return | System |
public SetAutoloadedConstant ( string name, MutableString path ) : void | ||
name | string | |
path | MutableString | |
return | void |
public SetClassVariable ( string name, object value ) : void | ||
name | string | |
value | object | |
return | void |
public SetConstant ( string name, object value ) : void | ||
name | string | |
value | object | |
return | void |
public SetConstantChecked ( string name, object value ) : bool | ||
name | string | |
value | object | |
return | bool |
public SetDefinedMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
visibility | RubyMethodVisibility | |
return | void |
public SetMethodNoEvent ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
return | void |
public SetMethodNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
return | void |
public SetModuleFunctionNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
return | void |
public SetVisibilityNoEventNoLock ( RubyContext callerContext, string name, IronRuby.Runtime.Calls.RubyMemberInfo method, RubyMethodVisibility visibility ) : void | ||
callerContext | RubyContext | |
name | string | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
visibility | RubyMethodVisibility | |
return | void |
public TryGetClassVariable ( string name, object &value ) : bool | ||
name | string | |
value | object | |
return | bool |
protected TryGetClrMember ( |
||
type | ||
name | string | |
mapNames | bool | |
unmangleNames | bool | |
method | IronRuby.Runtime.Calls.RubyMemberInfo | |
return | bool |
public TryGetConstant ( |
||
autoloadScope | ||
name | string | |
value | object | |
return | bool |
public TryGetInstanceData ( ) : |
||
return |
public TryRemoveConstant ( string name, object &value ) : bool | ||
name | string | |
value | object | |
return | bool |
public TryResolveClassVariable ( string name, object &value ) : |
||
name | string | |
value | object | |
return |
public UndefineMethodNoEvent ( string name ) : void | ||
name | string | |
return | void |