Sha256: ee2ff5adf5de1af753b534f2a4c32fb704ad6ac2e3cb7cb3c97705d1d23ad69f
Contents?: true
Size: 739 Bytes
Versions: 2
Compression:
Stored size: 739 Bytes
Contents
# encoding: utf-8 module Antelope # Every error in antelope inherits this error class. class Error < StandardError end # This is used primarily in the {Grammar}; if a rule references a # token (a nonterminal or a terminal) that was not previously # defined, this is raised. class UndefinedTokenError < Error end # Used primarily in the {Compiler}, this is raised when the # version requirement of the Ace file doesn't match the running # version of Ace. class IncompatibleVersionError < Error end # Primarily used in the {Grammar} (specifically # {Grammar::Generation}), if the grammar could not determine the # generator to use for the generation, it raises this. class NoTypeError < Error end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
antelope-0.4.1 | lib/antelope/errors.rb |
antelope-0.4.0 | lib/antelope/errors.rb |