Class: Prism::LexCompat::IgnoreStateToken
- Defined in:
- lib/prism/lex_compat.rb
Overview
Tokens where state should be ignored used for :on_comment, :on_heredoc_end, :on_embexpr_end
Instance Method Summary collapse
Methods inherited from Token
#event, #location, #state, #value
Instance Method Details
#==(other) ⇒ Object
215 216 217 |
# File 'lib/prism/lex_compat.rb', line 215 def ==(other) self[0...-1] == other[0...-1] end |