class Metasm::C::Goto
Attributes
target[RW]
Public Class Methods
new(target)
click to toggle source
# File metasm/parse_c.rb, line 899 def initialize(target) @target = target end
Public Instance Methods
dump(scope, r=[CRenderString.new], dep=[])
click to toggle source
# File metasm/parse_c.rb, line 3879 def dump(scope, r=[CRenderString.new], dep=[]) r.last << CRenderString.new(self, "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