123456789_123456789_123456789_123456789_123456789_

Class: Parser::Source::Map::For

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Map
Instance Chain:
self, Map
Inherits: Map
  • Object
Defined in: lib/rubocop/ast/vendor/parser/source/map/for.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(keyword_l, in_l, begin_l, end_l, expression_l) ⇒ For

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/for.rb', line 10

def initialize(keyword_l, in_l, begin_l, end_l, expression_l)
  @keyword, @in = keyword_l, in_l
  @begin, @end  = begin_l, end_l

  super(expression_l)
end

Instance Attribute Details

#begin (readonly)

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/for.rb', line 8

attr_reader :begin, :end

#end (readonly)

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/for.rb', line 8

attr_reader :begin, :end

#in (readonly)

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/for.rb', line 7

attr_reader :keyword, :in

#keyword (readonly)

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/for.rb', line 7

attr_reader :keyword, :in