Class: RubyLexer::NestedContexts::ImplicitLhsContext

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

Instance Attribute Summary

Attributes inherited from NestedContext

#linenum

Instance Method Summary collapse

Methods inherited from NestedContext

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

Constructor Details

#initialize(linenum) ⇒ ImplicitLhsContext

Returns a new instance of ImplicitLhsContext.



108
109
110
# File 'lib/rubylexer/context.rb', line 108

def initialize(linenum)
  @linenum=linenum
end

Instance Method Details

#enderObject



113
# File 'lib/rubylexer/context.rb', line 113

def ender; '=' end

#lhsObject



111
# File 'lib/rubylexer/context.rb', line 111

def lhs; true end

#starterObject



112
# File 'lib/rubylexer/context.rb', line 112

def starter; nil end