Class: RubyLexer::NestedContexts::ClassContext
- Inherits:
-
WantsEndContext
- Object
- NestedContext
- WantsEndContext
- RubyLexer::NestedContexts::ClassContext
- Defined in:
- lib/rubylexer/context.rb
Instance Attribute Summary
Attributes inherited from WantsEndContext
Attributes inherited from NestedContext
Instance Method Summary collapse
Methods inherited from WantsEndContext
Methods inherited from NestedContext
#initialize, #lhs, #lhs=, #matches?, #wantarrow
Constructor Details
This class inherits a constructor from RubyLexer::NestedContexts::WantsEndContext
Instance Method Details
#see(lxr, msg) ⇒ Object
195 196 197 198 199 200 201 202 |
# File 'lib/rubylexer/context.rb', line 195 def see(lxr,msg) if msg==:semi and @state!=:semi lxr.localvars_stack.push SymbolTable.new @state=:semi else super end end |