struct

Ecma335::ApiField

Inherits Ecma335::ApiAttributed < Struct < Value < Object

Constants

FIELD_HAS_DEFAULT = 32768_u16
FIELD_LITERAL = 64_u16
FIELD_STATIC = 16_u16

Constructors

new(name : String, signature : String | Nil = nil, constant_value : String | Nil = nil, flags : UInt16 = 0_u16, custom_attributes : Array(ApiAttribute) = [] of ApiAttribute, token : UInt32 | Nil = nil, constant_type : String | Nil = nil, offset : UInt32 | Nil = nil)
Source

Instance methods

constant_type

Element type of constant_value ("uint32", "string", ...), from the Constant table.

Source
constant_value
Source
custom_attributes
Source
flags
Source
has_default?
Source
literal?
Source
name
Source
offset

Explicit offset from FieldLayout (unions and explicit-layout structs).

Source
signature
Source
static?
Source
token
Source