module Lrama class Grammar class Code extend Forwardable attr_accessor type: ::Symbol attr_accessor token_code: Grammar::Code # delegated def s_value: -> String def line: -> Integer def column: -> Integer def references: -> Array[Lrama::Grammar::Reference] def initialize: (type: ::Symbol, token_code: Grammar::Code) -> void def translated_code: () -> String private def reference_to_c: (untyped ref) -> untyped end end end