Class: RD::StringElement
- Inherits:
-
TerminalInline
- Object
- Element
- InlineElement
- TerminalInline
- RD::StringElement
- Includes:
- LabelComposable
- Defined in:
- lib/rd/inline-element.rb,
lib/rd/rd-struct.rb
Overview
NonterminalInline
Instance Attribute Summary
Attributes inherited from TerminalInline
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from TerminalInline
Methods included from TerminalElement
Methods inherited from Element
Constructor Details
This class inherits a constructor from RD::TerminalInline
Instance Method Details
#accept(visitor) ⇒ Object
46 47 48 |
# File 'lib/rd/inline-element.rb', line 46 def accept(visitor) visitor.visit_StringElement(self) end |
#to_label ⇒ Object
50 51 52 |
# File 'lib/rd/inline-element.rb', line 50 def to_label @content end |