Class: DrgDSL::Ast::Empty
Instance Method Summary collapse
Methods included from Node
#==, #accept, included, #mdc_equality?, node_classes, #pretty_print, #sep_equality?, type, #type
Instance Method Details
#hash ⇒ Object
302 303 304 |
# File 'lib/drgdsl/ast.rb', line 302 def hash @hash ||= type.hash end |
#to_hash ⇒ Object
298 299 300 |
# File 'lib/drgdsl/ast.rb', line 298 def to_hash { empty: nil } end |