Exception: RLTK::NotInLanguage
- Defined in:
- lib/rltk/parser.rb
Overview
A NotInLanguage error 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
-
#to_s ⇒ String
String representation of the error.
Instance Method Details
#to_s ⇒ String
Returns String representation of the error.
33 34 35 |
# File 'lib/rltk/parser.rb', line 33 def to_s 'String not in language.' end |