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.



101
102
103
# File 'lib/rubylexer/context.rb', line 101

def initialize(linenum)
  @linenum=linenum
end

Instance Method Details

#enderObject



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

def ender; '=' end

#lhsObject



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

def lhs; true end

#starterObject



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

def starter; nil end