Ruby  2.4.2p198(2017-09-14revision59899)
Data Fields
rb_method_definition_struct Struct Reference

#include <method.h>

Data Fields

rb_method_type_t type: 8
 
int alias_count: 28
 
int complemented_count: 28
 
union {
enum  method_optimized_type { OPTIMIZED_METHOD_TYPE_SEND, OPTIMIZED_METHOD_TYPE_CALL, OPTIMIZED_METHOD_TYPE__MAX }
 
   rb_method_iseq_t   iseq
 
   rb_method_cfunc_t   cfunc
 
   rb_method_attr_t   attr
 
   rb_method_alias_t   alias
 
   rb_method_refined_t   refined
 
   const VALUE   proc
 
   enum rb_method_definition_struct:: { ... } ::method_optimized_type   optimize_type
 
body
 
ID original_id
 

Detailed Description

Definition at line 147 of file method.h.

Field Documentation

◆ alias

rb_method_alias_t rb_method_definition_struct::alias

◆ alias_count

int rb_method_definition_struct::alias_count

◆ attr

rb_method_attr_t rb_method_definition_struct::attr

◆ body

union { ... } rb_method_definition_struct::body

◆ cfunc

rb_method_cfunc_t rb_method_definition_struct::cfunc

◆ complemented_count

int rb_method_definition_struct::complemented_count

◆ iseq

rb_method_iseq_t rb_method_definition_struct::iseq

◆ optimize_type

enum { ... } ::method_optimized_type rb_method_definition_struct::optimize_type

◆ original_id

ID rb_method_definition_struct::original_id

◆ proc

const VALUE rb_method_definition_struct::proc

◆ refined

rb_method_refined_t rb_method_definition_struct::refined

◆ type

rb_method_type_t rb_method_definition_struct::type

The documentation for this struct was generated from the following file: