Class: RubyLexer::ImplicitParamListEndToken
- Inherits:
-
KeywordToken
- Object
- Token
- WToken
- KeywordToken
- RubyLexer::ImplicitParamListEndToken
- Includes:
- StillIgnoreToken
- Defined in:
- lib/rubylexer/token.rb
Overview
Instance Attribute Summary
Attributes inherited from KeywordToken
Attributes inherited from Token
#allow_ooo_offset, #endline, #ident, #offset, #startline, #tag
Instance Method Summary collapse
- #as ⇒ Object
-
#initialize(offset) ⇒ ImplicitParamListEndToken
constructor
A new instance of ImplicitParamListEndToken.
- #to_s ⇒ Object
Methods inherited from KeywordToken
#callsite?, #has_end!, #has_end?, #has_no_block!, #has_no_block?, #infix, #infix?, #prefix?, #set_callsite!, #set_infix!, #unary=
Methods inherited from WToken
Methods inherited from Token
#dump, #error, #has_no_block?, #inspect, #linecount, #orig_inspect, #ws_munge
Constructor Details
#initialize(offset) ⇒ ImplicitParamListEndToken
Returns a new instance of ImplicitParamListEndToken.
630 631 632 |
# File 'lib/rubylexer/token.rb', line 630 def initialize(offset) super(")",offset) end |
Instance Method Details
#as ⇒ Object
634 |
# File 'lib/rubylexer/token.rb', line 634 def as; ")" end |
#to_s ⇒ Object
633 |
# File 'lib/rubylexer/token.rb', line 633 def to_s; '' end |