Class: YARD::Parser::Ruby::KeywordNode

Inherits:
AstNode show all
Defined in:
lib/yard/parser/ruby/ast_node.rb

Direct Known Subclasses

ConditionalNode

Constant Summary

Constants inherited from AstNode

KEYWORDS

Instance Attribute Summary

Attributes inherited from AstNode

docstring, docstring_hash_flag, docstring_range, file, full_source, group, line_range, parent, source, source_range, type

Instance Method Summary (collapse)

Methods inherited from AstNode

#call?, #children, #condition?, #first_line, #has_line?, #initialize, #inspect, #jump, #line, #literal?, node_class_for, #pretty_print, #ref?, #show, #to_s, #token?, #traverse

Methods inherited from Array

#place

Constructor Details

This class inherits a constructor from YARD::Parser::Ruby::AstNode

Instance Method Details

- (Boolean) kw?

Returns:

  • (Boolean)


340
# File 'lib/yard/parser/ruby/ast_node.rb', line 340

def kw?; true end