Class: RubyLexer::ImplicitParamListEndToken

Inherits:
KeywordToken show all
Includes:
StillIgnoreToken
Defined in:
lib/rubylexer/token.rb

Overview


Instance Attribute Summary

Attributes inherited from KeywordToken

#grouping, #ternary, #value

Attributes inherited from Token

#allow_ooo_offset, #ident, #offset, #tag

Instance Method Summary collapse

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) ⇒ ImplicitParamListEndToken

Returns a new instance of ImplicitParamListEndToken.



527
528
529
# File 'lib/rubylexer/token.rb', line 527

def initialize(offset)
  super(")",offset)
end

Instance Method Details

#asObject



531
# File 'lib/rubylexer/token.rb', line 531

def as; ")" end

#to_sObject



530
# File 'lib/rubylexer/token.rb', line 530

def to_s; '' end