rdodson41/ruby-lox

View on GitHub
lib/lox/lexical_analyzer/invalid_state.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Lox
  class LexicalAnalyzer
    class InvalidState < StandardError
      def initialize(state)
        super("Invalid state: #{state}")
      end
    end
  end
end