Sha256: b874810745c1a16c5508aa9dfaf4b16198b096922a1288470c903d81ab831759
Contents?: true
Size: 378 Bytes
Versions: 24
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true class Code class Parser class Error < ::Code::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
24 entries across 24 versions & 1 rubygems