sig/lrama/grammar/precedence.rbs in lrama-0.6.9 vs sig/lrama/grammar/precedence.rbs in lrama-0.6.10
- old
+ new
@@ -1,10 +1,12 @@
module Lrama
class Grammar
class Precedence
include Comparable
- attr_accessor type: Symbol
+ attr_accessor type: ::Symbol
attr_accessor precedence: Integer
+
+ def initialize: (?type: ::Symbol, ?precedence: Integer) -> void
def <=>: (Precedence other) -> Integer
end
end
end