Class ByteListLexerSource

java.lang.Object
org.jruby.lexer.LexerSource
org.jruby.lexer.ByteListLexerSource

public class ByteListLexerSource extends LexerSource
Lexer source for ripper when we have all bytes available to us.
  • Constructor Details

    • ByteListLexerSource

      public ByteListLexerSource(String sourceName, int line, ByteList in, RubyArray list)
      Create our food-source for the lexer.
      Parameters:
      sourceName - is the file we are reading
      line - starting line number for source (used by eval)
      in - the ByteList backing the source we want to lex
  • Method Details