Class: RubyLexer::NestedContexts::ListImmedContext
- Inherits:
-
ListContext
- Object
- NestedContext
- ListContext
- RubyLexer::NestedContexts::ListImmedContext
- Defined in:
- lib/rubylexer/context.rb
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
-
#initialize(starter, linenum) ⇒ ListImmedContext
constructor
A new instance of ListImmedContext.
- #wantarrow ⇒ Object
Methods inherited from NestedContext
Constructor Details
#initialize(starter, linenum) ⇒ ListImmedContext
Returns a new instance of ListImmedContext.
49 50 51 52 |
# File 'lib/rubylexer/context.rb', line 49 def initialize(starter,linenum) assert '{['[starter] super(starter, starter.tr('{[','}]') ,linenum) end |
Instance Method Details
#wantarrow ⇒ Object
53 |
# File 'lib/rubylexer/context.rb', line 53 def wantarrow; true end |