Method: VerilogTools::AST#to_HDLRuby
- Defined in:
- lib/HDLRuby/verilog_hruby.rb
#to_HDLRuby(state = HDLRubyState.new) ⇒ Object
Generate HDLRuby text from the current AST node. +state+ is the HDLRuby generation state.
188 189 190 191 |
# File 'lib/HDLRuby/verilog_hruby.rb', line 188 def to_HDLRuby(state = HDLRubyState.new) # Execute the generation procedure corresponding to the type. return TO_HDLRuby[self.type].(self,state) end |