Method: HDLRuby::Viz::Node#to_s_control
- Defined in:
- lib/HDLRuby/hruby_viz.rb
#to_s_control ⇒ Object
Convert to a string as a control flow, i.e., the successor is also converted.
3149 3150 3151 3152 3153 3154 3155 |
# File 'lib/HDLRuby/hruby_viz.rb', line 3149 def to_s_control res = self.to_s + ";" if @successor then res += @successor.to_s_control end return res end |