Sha256: ee34f42ae53be352d767c525aba4f4546dbde06f50aec3a36f864222a9472f4a
Contents?: true
Size: 370 Bytes
Versions: 32
Compression:
Stored size: 370 Bytes
Contents
# frozen_string_literal: true class Code class Parser class Error < Error end def initialize(input) @input = input end def self.parse(...) new(...).parse end def parse Code.parse(input) rescue Language::Parser::NotEndOfInput => e raise Error, e.message end private attr_reader :input end end
Version data entries
32 entries across 32 versions & 1 rubygems