class WAG::Instruction::BrIf
Attributes
label[R]
Public Class Methods
new(label)
click to toggle source
# File lib/wag/instructions/br_if.rb, line 9 def initialize(label) @label = WAG::Label.from(label) end
Public Instance Methods
to_sexpr()
click to toggle source
# File lib/wag/instructions/br_if.rb, line 13 def to_sexpr [name, label.to_sexpr] end