Class: RubyLexer::NestedContexts::TernaryContext

Inherits:
NestedContext 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(linenum) ⇒ TernaryContext

Returns a new instance of TernaryContext.



330
331
332
# File 'lib/rubylexer/context.rb', line 330

def initialize(linenum)
  dflt_initialize('?',':',linenum)
end