Class: RubyLexer::NestedContexts::ParamListContextNoParen

Inherits:
ImplicitContext show all
Defined in:
lib/rubylexer/context.rb

Direct Known Subclasses

KWParamListContextNoParen

Instance Attribute Summary

Attributes inherited from NestedContext

#ender, #linenum, #starter

Instance Method Summary collapse

Methods inherited from NestedContext

#lhs=, #matches?, #see

Constructor Details

#initialize(linenum) ⇒ ParamListContextNoParen

Returns a new instance of ParamListContextNoParen.



138
139
140
# File 'lib/rubylexer/context.rb', line 138

def initialize(linenum)
  super(nil,nil,linenum)
end

Instance Method Details

#endtoken(offset) ⇒ Object



143
144
145
# File 'lib/rubylexer/context.rb', line 143

def endtoken offset
  ImplicitParamListEndToken.new offset
end

#lhsObject



141
# File 'lib/rubylexer/context.rb', line 141

def lhs; false end

#wantarrowObject



142
# File 'lib/rubylexer/context.rb', line 142

def wantarrow; true end