Class: Dms::Emitter::NodeComments
- Inherits:
-
Struct
- Object
- Struct
- Dms::Emitter::NodeComments
- Defined in:
- lib/dms/emitter.rb
Overview
Per-node bucket of attached comments by position.
Instance Attribute Summary collapse
-
#floating ⇒ Object
Returns the value of attribute floating.
-
#inner ⇒ Object
Returns the value of attribute inner.
-
#leading ⇒ Object
Returns the value of attribute leading.
-
#trailing ⇒ Object
Returns the value of attribute trailing.
Class Method Summary collapse
Instance Attribute Details
#floating ⇒ Object
Returns the value of attribute floating
79 80 81 |
# File 'lib/dms/emitter.rb', line 79 def floating @floating end |
#inner ⇒ Object
Returns the value of attribute inner
79 80 81 |
# File 'lib/dms/emitter.rb', line 79 def inner @inner end |
#leading ⇒ Object
Returns the value of attribute leading
79 80 81 |
# File 'lib/dms/emitter.rb', line 79 def leading @leading end |
#trailing ⇒ Object
Returns the value of attribute trailing
79 80 81 |
# File 'lib/dms/emitter.rb', line 79 def trailing @trailing end |
Class Method Details
.empty ⇒ Object
80 81 82 |
# File 'lib/dms/emitter.rb', line 80 def self.empty new([], [], [], []) end |