Class: Relaton::Un::Wasm::FuncRef
- Inherits:
-
Struct
- Object
- Struct
- Relaton::Un::Wasm::FuncRef
- Defined in:
- lib/relaton/un/wasm/interpreter.rb
Overview
A wasm function — module-defined or imported.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#proc ⇒ Object
Returns the value of attribute proc.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
18 19 20 |
# File 'lib/relaton/un/wasm/interpreter.rb', line 18 def code @code end |
#kind ⇒ Object
Returns the value of attribute kind
18 19 20 |
# File 'lib/relaton/un/wasm/interpreter.rb', line 18 def kind @kind end |
#proc ⇒ Object
Returns the value of attribute proc
18 19 20 |
# File 'lib/relaton/un/wasm/interpreter.rb', line 18 def proc @proc end |
#type ⇒ Object
Returns the value of attribute type
18 19 20 |
# File 'lib/relaton/un/wasm/interpreter.rb', line 18 def type @type end |
Instance Method Details
#imported? ⇒ Boolean
19 |
# File 'lib/relaton/un/wasm/interpreter.rb', line 19 def imported?; kind == :import; end |