C# Class IronRuby.Runtime.Calls.RubyMethodInfo

Inheritance: IronRuby.Runtime.Calls.RubyMemberInfo
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Méthodes publiques

Méthode Description
GetArity ( ) : int
GetMembers ( ) : System.Reflection.MemberInfo[]
GetRubyParameterArray ( ) : RubyArray
GetSyntaxTree ( ) : MethodDefinition
RuleControlFlowBuilder ( MetaObjectBuilder metaBuilder, CallArguments args ) : void

Takes current result and wraps it into try-filter(MethodUnwinder)-finally block that ensures correct "break" behavior for Ruby method calls with a block given in arguments. Sets up a RFC frame similarly to MethodDeclaration.

TrySelectOverload ( Type parameterTypes ) : IronRuby.Runtime.Calls.RubyMemberInfo

Méthodes protégées

Méthode Description
Copy ( RubyMemberFlags flags, RubyModule module ) : IronRuby.Runtime.Calls.RubyMemberInfo

Private Methods

Méthode Description
BuildCallNoFlow ( MetaObjectBuilder metaBuilder, CallArguments args, string name ) : void
GetDelegate ( ) : Delegate
GetDispatcher ( Type delegateType, RubyCallSignature signature, object target, int version ) : MemberDispatcher
RubyMethodInfo ( RubyMethodBody body, RubyScope declaringScope, RubyModule declaringModule, RubyMemberFlags flags ) : System

Method Details

Copy() protected méthode

protected Copy ( RubyMemberFlags flags, RubyModule module ) : IronRuby.Runtime.Calls.RubyMemberInfo
flags RubyMemberFlags
module IronRuby.Builtins.RubyModule
Résultat IronRuby.Runtime.Calls.RubyMemberInfo

GetArity() public méthode

public GetArity ( ) : int
Résultat int

GetMembers() public méthode

public GetMembers ( ) : System.Reflection.MemberInfo[]
Résultat System.Reflection.MemberInfo[]

GetRubyParameterArray() public méthode

public GetRubyParameterArray ( ) : RubyArray
Résultat RubyArray

GetSyntaxTree() public méthode

public GetSyntaxTree ( ) : MethodDefinition
Résultat IronRuby.Compiler.Ast.MethodDefinition

RuleControlFlowBuilder() public static méthode

Takes current result and wraps it into try-filter(MethodUnwinder)-finally block that ensures correct "break" behavior for Ruby method calls with a block given in arguments. Sets up a RFC frame similarly to MethodDeclaration.
public static RuleControlFlowBuilder ( MetaObjectBuilder metaBuilder, CallArguments args ) : void
metaBuilder MetaObjectBuilder
args CallArguments
Résultat void

TrySelectOverload() public méthode

public TrySelectOverload ( Type parameterTypes ) : IronRuby.Runtime.Calls.RubyMemberInfo
parameterTypes System.Type
Résultat IronRuby.Runtime.Calls.RubyMemberInfo