Class: RubyLexer::NestedContexts::ParamListContext
- Inherits:
-
ListContext
- Object
- NestedContext
- ListContext
- RubyLexer::NestedContexts::ParamListContext
- Defined in:
- lib/rubylexer/context.rb
Overview
class BlockParamListContext < ListContext
def initialize(linenum)
super('|','|',linenum)
end
end
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
-
#initialize(linenum) ⇒ ParamListContext
constructor
A new instance of ParamListContext.
- #lhs ⇒ Object
- #wantarrow ⇒ Object
Methods inherited from NestedContext
Constructor Details
#initialize(linenum) ⇒ ParamListContext
Returns a new instance of ParamListContext.
100 101 102 |
# File 'lib/rubylexer/context.rb', line 100 def initialize(linenum) super('(', ')',linenum) end |
Instance Method Details
#lhs ⇒ Object
103 |
# File 'lib/rubylexer/context.rb', line 103 def lhs; false end |
#wantarrow ⇒ Object
104 |
# File 'lib/rubylexer/context.rb', line 104 def wantarrow; true end |