Class: Parser::Source::Map::Send
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Map
|
|
|
Instance Chain:
self,
Map
|
|
| Inherits: |
Map
|
| Defined in: | lib/rubocop/ast/vendor/parser/source/map/send.rb |
Class Method Summary
Instance Attribute Summary
Instance Method Summary
- #with_operator(operator_l) Internal use only
Constructor Details
.new(dot_l, selector_l, begin_l, end_l, expression_l) ⇒ Send
# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 13
def initialize(dot_l, selector_l, begin_l, end_l, expression_l) @dot = dot_l @selector = selector_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/send.rb', line 10
attr_reader :begin
#dot (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 7
attr_reader :dot
#end (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 11
attr_reader :end
#operator (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 9
attr_reader :operator
#selector (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 8
attr_reader :selector
Instance Method Details
#with_operator(operator_l)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/send.rb', line 24
def with_operator(operator_l) with { |map| map.update_operator(operator_l) } end