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=, #matches?, #wantarrow
Constructor Details
This class inherits a constructor from RubyLexer::NestedContexts::WantsEndContext
Instance Method Details
#see(lxr, msg) ⇒ Object
188 189 190 191 192 193 194 195 |
# File 'lib/rubylexer/context.rb', line 188 def see(lxr,msg) if msg==:semi and @state!=:semi lxr.localvars_stack.push SymbolTable.new @state=:semi else super end end |