Class: SyntaxTree::ERB::ErbEnd

Inherits:
ErbNode show all
Defined in:
lib/syntax_tree/erb/nodes.rb

Instance Attribute Summary

Attributes inherited from ErbNode

#closing_tag, #content, #keyword, #opening_tag

Attributes inherited from Element

#location, #new_line

Instance Method Summary collapse

Methods inherited from ErbNode

#deconstruct_keys, #initialize, #new_line, #without_new_line

Methods inherited from Element

#deconstruct_keys, #initialize, #without_new_line

Methods inherited from Node

#format, #pretty_print, #skip?, #without_new_line

Constructor Details

This class inherits a constructor from SyntaxTree::ERB::ErbNode

Instance Method Details

#accept(visitor) ⇒ Object



430
431
432
# File 'lib/syntax_tree/erb/nodes.rb', line 430

def accept(visitor)
  visitor.visit_erb_end(self)
end

#child_nodesObject Also known as: deconstruct



434
435
436
# File 'lib/syntax_tree/erb/nodes.rb', line 434

def child_nodes
  []
end