Class: ParseJS::AST::Node
- Inherits:
-
Object
- Object
- ParseJS::AST::Node
- Defined in:
- lib/yard-js/core_ext/parsejs.rb
Instance Attribute Summary collapse
-
#comments ⇒ Object
Returns the value of attribute comments.
Instance Method Summary collapse
Instance Attribute Details
#comments ⇒ Object
Returns the value of attribute comments.
12 13 14 |
# File 'lib/yard-js/core_ext/parsejs.rb', line 12 def comments @comments end |
Instance Method Details
#comments_hash_flag ⇒ Object
9 |
# File 'lib/yard-js/core_ext/parsejs.rb', line 9 def comments_hash_flag; nil end |
#comments_range ⇒ Object
10 |
# File 'lib/yard-js/core_ext/parsejs.rb', line 10 def comments_range; nil end |
#line ⇒ Object
7 |
# File 'lib/yard-js/core_ext/parsejs.rb', line 7 def line; 0 end |
#show ⇒ Object Also known as: source
8 |
# File 'lib/yard-js/core_ext/parsejs.rb', line 8 def show; ParseJS::Stringifier.to_string(self) end |