lib/code/parser/group.rb in code-ruby-0.5.6 vs lib/code/parser/group.rb in code-ruby-0.6.0
- old
+ new
@@ -1,10 +1,12 @@
+# frozen_string_literal: true
+
class Code
class Parser
class Group < Language
def code
- ::Code::Parser::Code
+ Code
end
def opening_parenthesis
str("(")
end
@@ -13,10 +15,10 @@
str(")")
end
def root
(opening_parenthesis << code << closing_parenthesis.maybe).aka(:group) |
- ::Code::Parser::Call
+ Call
end
end
end
end