Class: RubyLexer::NestedContexts::ParamListContextNoParen
- Inherits:
-
ImplicitContext
- Object
- NestedContext
- ListContext
- ImplicitContext
- RubyLexer::NestedContexts::ParamListContextNoParen
- Defined in:
- lib/rubylexer/context.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
- #endtoken(offset) ⇒ Object
-
#initialize(linenum) ⇒ ParamListContextNoParen
constructor
A new instance of ParamListContextNoParen.
- #lhs ⇒ Object
- #wantarrow ⇒ Object
Methods inherited from NestedContext
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 |
#lhs ⇒ Object
141 |
# File 'lib/rubylexer/context.rb', line 141 def lhs; false end |
#wantarrow ⇒ Object
142 |
# File 'lib/rubylexer/context.rb', line 142 def wantarrow; true end |