Class: RubyLexer::NestedContexts::VContext
- Defined in:
- lib/macro.rb
Instance Method Summary collapse
-
#initialize(linenum) ⇒ VContext
constructor
A new instance of VContext.
- #see(evt, lexer) ⇒ Object
Constructor Details
#initialize(linenum) ⇒ VContext
Returns a new instance of VContext.
909 910 911 |
# File 'lib/macro.rb', line 909 def initialize(linenum) super("v","",linenum) end |
Instance Method Details
#see(evt, lexer) ⇒ Object
912 913 914 |
# File 'lib/macro.rb', line 912 def see evt,lexer lexer.parsestack.pop if evt==:semi and lexer.readahead(1)!='(' end |