Class: Type::UI64

Inherits:
Numeric show all
Defined in:
lib/rlang/parser/ext/type.rb

Constant Summary collapse

MAX =
2**63 - 1
MIN =
-2**63

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Numeric

#type

Class Method Details

.signed?Boolean

Returns:

  • (Boolean)


16
# File 'lib/rlang/parser/ext/type.rb', line 16

def self.signed?; false; end

.sizeObject

size in bytes



18
# File 'lib/rlang/parser/ext/type.rb', line 18

def self.size; 8; end

.wasm_typeObject



20
# File 'lib/rlang/parser/ext/type.rb', line 20

def self.wasm_type; 'i64'; end

Instance Method Details

#sizeObject

size in bytes



17
# File 'lib/rlang/parser/ext/type.rb', line 17

def size; 8; end

#wasm_typeObject



19
# File 'lib/rlang/parser/ext/type.rb', line 19

def wasm_type; 'i64'; end