Class: RubyLexer::NestedContexts::ImplicitLhsContext
- Inherits:
-
NestedContext
- Object
- NestedContext
- RubyLexer::NestedContexts::ImplicitLhsContext
- Defined in:
- lib/rubylexer/context.rb
Direct Known Subclasses
BlockParamListLhsContext, ForSMContext, ParenedParamListLhsContext, UnparenedParamListLhsContext
Instance Attribute Summary
Attributes inherited from NestedContext
Instance Method Summary collapse
- #ender ⇒ Object
-
#initialize(linenum) ⇒ ImplicitLhsContext
constructor
A new instance of ImplicitLhsContext.
- #lhs ⇒ Object
- #starter ⇒ Object
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
#ender ⇒ Object
113 |
# File 'lib/rubylexer/context.rb', line 113 def ender; '=' end |
#lhs ⇒ Object
111 |
# File 'lib/rubylexer/context.rb', line 111 def lhs; true end |
#starter ⇒ Object
112 |
# File 'lib/rubylexer/context.rb', line 112 def starter; nil end |