Exception: ANTLR3::Error::MismatchedNotSet
- Inherits:
-
MismatchedSet
- Object
- StandardError
- RecognitionError
- MismatchedSet
- ANTLR3::Error::MismatchedNotSet
- Defined in:
- lib/antlr3/error.rb
Overview
- error
-
MismatchedNotSet
- used by
-
all recognizers
- occurs when
-
A recognizer expected to match symbol that is not in some set of symbols but failed.
Constant Summary
Constants included from Constants
Constants::BUILT_IN_TOKEN_NAMES, Constants::DEFAULT, Constants::DOWN, Constants::EOF, Constants::EOF_TOKEN, Constants::EOR_TOKEN_TYPE, Constants::HIDDEN, Constants::INVALID, Constants::INVALID_NODE, Constants::INVALID_TOKEN, Constants::MEMO_RULE_FAILED, Constants::MEMO_RULE_UNKNOWN, Constants::MIN_TOKEN_TYPE, Constants::SKIP_TOKEN, Constants::UP
Instance Attribute Summary
Attributes inherited from MismatchedSet
Attributes inherited from RecognitionError
#column, #index, #input, #line, #source_name, #symbol, #token
Instance Method Summary collapse
Methods inherited from MismatchedSet
Methods inherited from RecognitionError
#approximate_line_info?, #initialize, #location, #unexpected_type
Constructor Details
This class inherits a constructor from ANTLR3::Error::MismatchedSet
Instance Method Details
#message ⇒ Object
372 373 374 375 |
# File 'lib/antlr3/error.rb', line 372 def '%s: %p != %p' % [ self.class, unexpected_type, @expecting ] end |