Sha256: 949138a3b76ae79c96ca52d6a4a45cf099a3b0defb117598f05c448e41454ec9
Contents?: true
Size: 280 Bytes
Versions: 13
Compression:
Stored size: 280 Bytes
Contents
module Lrama class Grammar class ErrorToken < Struct.new(:ident_or_tags, :token_code, :lineno, keyword_init: true) def translated_code(tag) Code::PrinterCode.new(type: :error_token, token_code: token_code, tag: tag).translated_code end end end end
Version data entries
13 entries across 13 versions & 1 rubygems