Class: ParseJS::AST::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/yard-js/core_ext/parsejs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commentsObject

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_flagObject


9
# File 'lib/yard-js/core_ext/parsejs.rb', line 9

def comments_hash_flag; nil end

#comments_rangeObject


10
# File 'lib/yard-js/core_ext/parsejs.rb', line 10

def comments_range; nil end

#lineObject


7
# File 'lib/yard-js/core_ext/parsejs.rb', line 7

def line; 0 end

#showObject Also known as: source


8
# File 'lib/yard-js/core_ext/parsejs.rb', line 8

def show; ParseJS::Stringifier.to_string(self) end