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.
101 102 103 |
# File 'lib/rubylexer/context.rb', line 101 def initialize(linenum) @linenum=linenum end |
Instance Method Details
#ender ⇒ Object
106 |
# File 'lib/rubylexer/context.rb', line 106 def ender; '=' end |
#lhs ⇒ Object
104 |
# File 'lib/rubylexer/context.rb', line 104 def lhs; true end |
#starter ⇒ Object
105 |
# File 'lib/rubylexer/context.rb', line 105 def starter; nil end |