Class: RubyLexer::WToken

Inherits:
Token
  • Object
show all
Defined in:
lib/rubylexer/token.rb

Overview


Instance Attribute Summary

Attributes inherited from Token

#allow_ooo_offset, #as, #ident, #offset, #tag

Instance Method Summary collapse

Methods inherited from Token

#error, #has_no_block?, #initialize, #to_s, #ws_munge

Constructor Details

This class inherits a constructor from RubyLexer::Token

Instance Method Details

#===(pattern) ⇒ Object



47
48
49
50
# File 'lib/rubylexer/token.rb', line 47

def ===(pattern)
   assert @ident
   pattern===@ident
end