module Lrama class Grammar class Precedence include Comparable attr_accessor type: ::Symbol attr_accessor precedence: Integer def initialize: (?type: ::Symbol, ?precedence: Integer) -> void def <=>: (Precedence other) -> Integer end end end