Sha256: 7520ea55bad54420fe30ada9c3b554c385c768514ba11a0dd2d218583237b107
Contents?: true
Size: 480 Bytes
Versions: 1
Compression:
Stored size: 480 Bytes
Contents
module Furnace class SSA::Argument < SSA::NamedValue attr_reader :type def initialize(type, name) @type = type.to_type super(name) end def type=(type) @type = type.to_type SSA.instrument(self) end def replace_type_with(type, replacement) self.type = self.type. replace_type_with(type, replacement) end def awesome_print(p=AwesomePrinter.new) p.nest(@type). name(name) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
furnace-0.4.0.beta.2 | lib/furnace/ssa/argument.rb |