lib/lrama/grammar/code/printer_code.rb in lrama-0.5.12 vs lib/lrama/grammar/code/printer_code.rb in lrama-0.6.0
- old
+ new
@@ -1,9 +1,9 @@
module Lrama
class Grammar
class Code
class PrinterCode < Code
- def initialize(type: nil, token_code: nil, tag: nil)
+ def initialize(type:, token_code:, tag:)
super(type: type, token_code: token_code)
@tag = tag
end
private