Class: RubyLexer::NestedContexts::ExpectThenOrNlContext

Inherits:
NestedContext
  • Object
show all
Defined in:
lib/rubylexer/context.rb

Instance Attribute Summary

Attributes inherited from NestedContext

#ender, #linenum, #starter

Instance Method Summary collapse

Methods inherited from NestedContext

#lhs, #lhs=, #matches?, #see, #wantarrow

Constructor Details

#initialize(starter, linenum) ⇒ ExpectThenOrNlContext

Returns a new instance of ExpectThenOrNlContext.



324
325
326
# File 'lib/rubylexer/context.rb', line 324

def initialize starter, linenum
  super starter, "then", linenum
end