lib/origen_verilog/verilog/node.rb
# Returns the name of the node, will raise an error if called on a node type for
# which the name extraction is not yet implemented
Returns the name of the node, will raise an error if called on a node type for
which the name extraction is not yet implemented
Returns the name of the node will raise an error if called on a node type for which the name extraction is not yet implemented
def name
        if type == :module_declaration
          to_a[0]
        else
          fail "Don't know how to extract the name from a #{type} node yet!"
        end
      end
def name if type == :module_declaration to_a [ 0 ] else fail "Don't know how to extract the name from a #{type} node yet!" end end
Returns the name of the node, will raise an error if called on a node type for
which the name extraction is not yet implemented
Returns the name of the node will raise an error if called on a node type for which the name extraction is not yet implemented