lib/code/parser/call.rb in code-ruby-parser-0.1.1 vs lib/code/parser/call.rb in code-ruby-parser-0.1.2
- old
+ new
@@ -36,11 +36,11 @@
block = nil
end
{
call: {
- **identifier,
+ identifier: identifier,
arguments: arguments,
block: block,
comments: comments
}.compact
}
@@ -115,11 +115,11 @@
{
comments_before: comments_before,
comments_after: comments_after,
default: default,
keyword: true,
- **key
+ identifier: key
}.compact
else
@cursor = previous_cursor
buffer!
return
@@ -138,16 +138,16 @@
{
comments_before: comments_before,
comments_after: comments_after,
default: default,
- **identifier
+ identifier: identifier
}.compact
else
{
comments_before: comments_before,
comments_after: comments_after,
- **identifier
+ identifier: identifier
}.compact
end
else
@cursor = previous_cursor
buffer!