Class: Type::I64

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

Constant Summary collapse

MAX =
2**64 - 1
MIN =
0

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Numeric

#type

Class Method Details

.signed?Boolean

Returns:

  • (Boolean)


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

def self.signed?; true; end

.sizeObject

size in bytes



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

def self.size; 8; end

.wasm_typeObject



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

def self.wasm_type; 'i64'; end

Instance Method Details

#sizeObject

size in bytes



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

def size; 8; end

#wasm_typeObject



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

def wasm_type; 'i64'; end