Class: YARD::Parser::Ruby::LiteralNode

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

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, #kw?, #line, 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) literal?

Returns:

  • (Boolean)


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

def literal?; true end