module RubyLexer::SSStackish

Public Instance Methods

lineno_pop() click to toggle source
# File lib/ruby_lexer.rb, line 1092
def lineno_pop
  self.lineno     = self.old_lineno
  self.old_lineno = nil
end
lineno_push(new_lineno) click to toggle source
# File lib/ruby_lexer.rb, line 1087
def lineno_push new_lineno
  self.old_lineno = self.lineno
  self.lineno     = new_lineno
end
ss=(o) click to toggle source
Calls superclass method
# File lib/ruby_lexer.rb, line 1097
def ss= o
  raise "Clearing ss while in heredoc!?!" if in_heredoc?
  @old_ss = nil
  super
end
ss_pop() click to toggle source
# File lib/ruby_lexer.rb, line 1108
def ss_pop
  @ss     = self.old_ss
  @old_ss = nil
end
ss_push(new_ss) click to toggle source
# File lib/ruby_lexer.rb, line 1103
def ss_push new_ss
  @old_ss = self.ss
  @ss     = new_ss
end