struct

Ecma335::ApiMethod

Inherits Ecma335::ApiAttributed < Struct < Value < Object

Constants

METHOD_ABSTRACT = 1024_u16
METHOD_STATIC = 16_u16
METHOD_VIRTUAL = 64_u16
PINVOKE_SUPPORTS_LAST_ERROR = 64_u16

Constructors

new(name : String, signature : MethodSignature | Nil = nil, params : Array(ApiParam) = [] of ApiParam, native_import : String | Nil = nil, native_module : String | Nil = nil, generic_params : Array(String) = [] of String, rva : UInt32 = 0_u32, impl_flags : UInt16 = 0_u16, flags : UInt16 = 0_u16, custom_attributes : Array(ApiAttribute) = [] of ApiAttribute, token : UInt32 | Nil = nil, pinvoke_flags : UInt16 | Nil = nil, return_attributes : Array(ApiAttribute) = [] of ApiAttribute)
Source

Instance methods

abstract?
Source
custom_attributes
Source
flags
Source
generic_params
Source
impl_flags
Source
name
Source
native_import
Source
native_module
Source
params
Source
pinvoke_flags

ImplMap mapping flags when the method is a P/Invoke.

Source
return_attributes

Attributes of the return value (the Param row with sequence 0).

Source
set_last_error?

True when the P/Invoke ImplMap row carries SupportsLastError.

Source
signature
Source
static?
Source
token
Source
virtual?
Source