Class: Prism::LexCompat::IgnoreStateToken
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Token ,
SimpleDelegator
|
|
Instance Chain:
self,
Token ,
SimpleDelegator
|
|
Inherits: |
Prism::LexCompat::Token
|
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
- #==(other) Internal use only
Token
- Inherited
Instance Method Details
#==(other)
This method is for internal use only.
[ GitHub ]
# File 'lib/prism/lex_compat.rb', line 239
def ==(other) # :nodoc: self[0...-1] == other[0...-1] end