Class: RubyLexer::WToken
Overview
Direct Known Subclasses
HerePlaceholderToken, KeywordToken, OperatorToken, VarNameToken
Instance Attribute Summary
Attributes inherited from Token
#allow_ooo_offset, #as, #endline, #ident, #offset, #startline, #tag
Instance Method Summary collapse
Methods inherited from Token
#dump, #error, #has_no_block?, #initialize, #inspect, #linecount, #orig_inspect, #to_s, #ws_munge
Constructor Details
This class inherits a constructor from RubyLexer::Token
Instance Method Details
#===(pattern) ⇒ Object
71 72 73 74 |
# File 'lib/rubylexer/token.rb', line 71 def ===(pattern) assert @ident pattern===@ident end |