Class: RubyLexer::ImplicitParamListStartToken
- Inherits:
-
KeywordToken
- Object
- Token
- WToken
- KeywordToken
- RubyLexer::ImplicitParamListStartToken
- Includes:
- StillIgnoreToken
- Defined in:
- lib/rubylexer/token.rb
Overview
Instance Attribute Summary
Attributes inherited from KeywordToken
Attributes inherited from Token
#allow_ooo_offset, #ident, #offset, #tag
Instance Method Summary collapse
- #as ⇒ Object
-
#initialize(offset) ⇒ ImplicitParamListStartToken
constructor
A new instance of ImplicitParamListStartToken.
- #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
#error, #has_no_block?, #ws_munge
Constructor Details
#initialize(offset) ⇒ ImplicitParamListStartToken
Returns a new instance of ImplicitParamListStartToken.
517 518 519 |
# File 'lib/rubylexer/token.rb', line 517 def initialize(offset) super("(",offset) end |
Instance Method Details
#as ⇒ Object
521 |
# File 'lib/rubylexer/token.rb', line 521 def as; "(" end |
#to_s ⇒ Object
520 |
# File 'lib/rubylexer/token.rb', line 520 def to_s; '' end |