Class YARD::Parser::Ruby::AstNode
In: lib/yard/parser/ruby/ast_node.rb
Parent: Array

Methods

==   call?   children   condition?   file   first_line   full_source   has_line?   inspect   jump   kw?   line   line_range   literal?   new   node_class_for   pretty_print   ref?   show   source   source_range   token?   traverse  

Constants

KEYWORDS = { class: true, alias: true, lambda: true, do_block: true, def: true, defs: true, begin: true, rescue: true, rescue_mod: true, if: true, if_mod: true, else: true, elsif: true, case: true, when: true, next: true, break: true, retry: true, redo: true, return: true, throw: true, catch: true, until: true, until_mod: true, while: true, while_mod: true, yield: true, yield0: true, zsuper: true, unless: true, unless_mod: true, for: true, super: true, return0: true }

External Aliases

docstring -> comments
docstring_range -> comments_range
source -> to_s

Attributes

docstring  [RW] 
docstring_range  [RW] 
file  [RW] 
full_source  [RW] 
line_range  [RW] 
parent  [RW] 
source  [RW] 
source_range  [RW] 
type  [RW] 

Public Class methods

Public Instance methods

[Validate]