catch_entry.rb 317 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# frozen_string_literal: true

module Inkoc
  module Codegen
    class CatchEntry
      attr_reader :start, :stop, :jump_to, :register

      def initialize(start, stop, jump_to, register)
        @start = start
        @stop = stop
        @jump_to = jump_to
        @register = register
      end
    end
  end
end