Class: RubyLexer::NestedContexts::VContext

Inherits:
NestedContext
  • Object
show all
Defined in:
lib/macro.rb

Instance Method Summary collapse

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