Class: YARD::Parser::Ruby::ClassNode
- Inherits:
-
KeywordNode
- Object
- Array
- AstNode
- KeywordNode
- YARD::Parser::Ruby::ClassNode
- Defined in:
- lib/yard/parser/ruby/ast_node.rb
Managing node state collapse
Constructor Details
This class inherits a constructor from YARD::Parser::Ruby::AstNode
Instance Method Details
#block ⇒ Object
471 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 471 def block; last end |
#class_name ⇒ Object
469 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 469 def class_name; first end |
#superclass ⇒ Object
470 |
# File 'lib/yard/parser/ruby/ast_node.rb', line 470 def superclass; type == :sclass ? nil : self[1] end |