Class: Mutant::AST::Pattern::Lexer::Error::InvalidToken Private
- Inherits:
-
Mutant::AST::Pattern::Lexer::Error
- Object
- Mutant::AST::Pattern::Lexer::Error
- Mutant::AST::Pattern::Lexer::Error::InvalidToken
- Defined in:
- lib/mutant/ast/pattern/lexer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #display_message ⇒ Object private
Instance Method Details
#display_message ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
29 30 31 32 33 34 |
# File 'lib/mutant/ast/pattern/lexer.rb', line 29 def <<~MESSAGE.strip Invalid #{token.type} token: #{token.display_location} MESSAGE end |