Class: Parser::Source::Map::ObjcKwarg
Instance Attribute Summary collapse
#expression, #node
Instance Method Summary
collapse
#==, #column, #last_column, #last_line, #line, #to_hash
Constructor Details
#initialize(keyword_l, operator_l, argument_l, expression_l) ⇒ ObjcKwarg
Returns a new instance of ObjcKwarg.
9
10
11
12
13
|
# File 'lib/parser/source/map/objc_kwarg.rb', line 9
def initialize(keyword_l, operator_l, argument_l, expression_l)
@keyword, @operator, @argument = keyword_l, operator_l, argument_l
super(expression_l)
end
|
Instance Attribute Details
#argument ⇒ Object
7
8
9
|
# File 'lib/parser/source/map/objc_kwarg.rb', line 7
def argument
@argument
end
|
#keyword ⇒ Object
5
6
7
|
# File 'lib/parser/source/map/objc_kwarg.rb', line 5
def keyword
@keyword
end
|
#operator ⇒ Object
6
7
8
|
# File 'lib/parser/source/map/objc_kwarg.rb', line 6
def operator
@operator
end
|