Class: LibRubyParser::Messages::UnexpectedToken
- Inherits:
-
DiagnosticMessage
- Object
- DiagnosticMessage
- LibRubyParser::Messages::UnexpectedToken
- Defined in:
- lib/lib-ruby-parser/messages.rb
Overview
Emitted for any code that produces invalid sequence of tokens
Instance Attribute Summary collapse
-
#token_name ⇒ String
readonly
Name of the token.
Instance Attribute Details
#token_name ⇒ String (readonly)
Name of the token
447 448 449 |
# File 'lib/lib-ruby-parser/messages.rb', line 447 def token_name @token_name end |