Exception: RLTK::NotInLanguage

Inherits:
Exception
  • Object
show all
Defined in:
lib/rltk/parser.rb

Overview

A NotInLanguage exception is raised whenever there is no valid parse tree for a given token stream. In other words, the input string is not in the defined language.

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_s



31
32
33
# File 'lib/rltk/parser.rb', line 31

def to_s
	'String not in language.'
end