123456789_123456789_123456789_123456789_123456789_

Class: Parser::Source::Map::Condition

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/condition.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(keyword_l, begin_l, else_l, end_l, expression_l) ⇒ Condition

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/condition.rb', line 12

def initialize(keyword_l, begin_l, else_l, end_l, expression_l)
  @keyword = keyword_l
  @begin, @else, @end = begin_l, else_l, end_l

  super(expression_l)
end

Instance Attribute Details

#begin (readonly)

[ GitHub ]

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

attr_reader :begin

#else (readonly)

[ GitHub ]

  
# File 'lib/rubocop/ast/vendor/parser/source/map/condition.rb', line 9

attr_reader :else

#end (readonly)

[ GitHub ]

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

attr_reader :end

#keyword (readonly)

[ GitHub ]

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

attr_reader :keyword