lib/code/parser/or_keyword.rb in code-ruby-0.5.6 vs lib/code/parser/or_keyword.rb in code-ruby-0.6.0
- old
+ new
@@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
class Code
class Parser
- class OrKeyword < Operation
+ class OrKeyword < LeftOperation
def statement
- ::Code::Parser::NotKeyword
+ NotKeyword
end
def or_keyword
str("or")
end