Class: Parser::Source::Map::Definition
| 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/definition.rb |
Class Method Summary
Instance Attribute Summary
Constructor Details
.new(keyword_l, operator_l, name_l, end_l) ⇒ Definition
# File 'lib/rubocop/ast/vendor/parser/source/map/definition.rb', line 12
def initialize(keyword_l, operator_l, name_l, end_l) @keyword = keyword_l @operator = operator_l @name = name_l @end = end_l super(@keyword.join(@end)) end
Instance Attribute Details
#end (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/definition.rb', line 10
attr_reader :end
#keyword (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/definition.rb', line 7
attr_reader :keyword
#name (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/definition.rb', line 9
attr_reader :name
#operator (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/definition.rb', line 8
attr_reader :operator