class Parser::Source::Map::Variable
Attributes
Public Class Methods
Source
# File lib/parser/source/map/variable.rb, line 10 def initialize(name_l, expression_l=name_l) @name = name_l super(expression_l) end
Calls superclass method
Parser::Source::Map::new
Public Instance Methods
Source
# File lib/parser/source/map/variable.rb, line 19 def with_operator(operator_l) with { |map| map.update_operator(operator_l) } end
@api private
Protected Instance Methods
Source
# File lib/parser/source/map/variable.rb, line 25 def update_operator(operator_l) @operator = operator_l end