class Metasm::C::Goto
Attributes
target[RW]
Public Class Methods
new(target)
click to toggle source
# File metasm/parse_c.rb, line 885 def initialize(target) @target = target end
Public Instance Methods
dump(scope, r=[''], dep=[])
click to toggle source
# File metasm/parse_c.rb, line 3829 def dump(scope, r=[''], dep=[]) r.last << "goto #@target;" [r, dep] end
precompile(compiler, scope)
click to toggle source
# File metasm/compile_c.rb, line 944 def precompile(compiler, scope) if not compiler.auto_label_list[@target] @target = scope.nonauto_label[@target] ||= compiler.new_label(@target) end scope.statements << self end