module RubyLexer::SSWrapper
Public Instance Methods
Source
# File lib/ruby_lexer.rb, line 1021 def getch c = ss.getch c = ss.getch if c == "\r" && ss.peek(1) == "\n" c end
Source
# File lib/ruby_lexer.rb, line 1039 def maybe_pop_stack if ss.eos? && in_heredoc? then self.ss_pop self.lineno_pop end end
Source
# File lib/ruby_lexer.rb, line 1064 def scanner_class # TODO: design this out of oedipus_lex. or something. RPStringScanner end
Source
# File lib/ruby_lexer.rb, line 1072 def ss_string= s raise "Probably not" ss.string = s end