Sha256: dfc87f62d7d9912f37357751bc5fe6e6b0750cdd445f209803789dfbff75ef80
Contents?: true
Size: 560 Bytes
Versions: 6
Compression:
Stored size: 560 Bytes
Contents
module Lrama class Grammar class Code class NoReferenceCode < Code private # * ($$) error # * (@$) error # * ($1) error # * (@1) error def reference_to_c(ref) case when ref.type == :dollar # $$, $n raise "$#{ref.value} can not be used in #{type}." when ref.type == :at # @$, @n raise "@#{ref.value} can not be used in #{type}." else raise "Unexpected. #{self}, #{ref}" end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems