Class: RD::Var

Inherits:
NonterminalInline show all
Includes:
InlineIncludable, LabelComposable
Defined in:
lib/rd/rd-struct.rb,
lib/rd/inline-element.rb

Instance Attribute Summary

Attributes inherited from NonterminalInline

#content

Attributes included from NonterminalElement

#temporary_document_structure

Attributes inherited from Element

#parent

Instance Method Summary collapse

Methods inherited from NonterminalInline

#children, #initialize, #to_label

Methods included from NonterminalElement

#add_child, #add_child_under_document_struct, #add_children, #add_children_under_document_struct, #add_children_without_document_struct, #build, #children, #each_child, #each_element, #initialize, #make_child, #push_to_children, #under_temporary_document_structure

Methods inherited from Element

#initialize, #inspect, #tree

Constructor Details

This class inherits a constructor from RD::NonterminalInline

Instance Method Details

#accept(visitor) ⇒ Object



78
79
80
# File 'lib/rd/inline-element.rb', line 78

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