public class ByteListLexerSource extends LexerSource
scriptLines| Constructor and Description | 
|---|
| ByteListLexerSource(String sourceName,
                   int line,
                   org.jruby.util.ByteList in,
                   RubyArray list)Create our food-source for the lexer. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.jcodings.Encoding | getEncoding() | 
| int | getOffset() | 
| org.jruby.util.ByteList | gets() | 
| void | setEncoding(org.jcodings.Encoding encoding) | 
encodeExistingScriptLines, getFilename, getLineOffsetpublic ByteListLexerSource(String sourceName, int line, org.jruby.util.ByteList in, RubyArray list)
sourceName - is the file we are readingline - starting line number for source (used by eval)in - the ByteList backing the source we want to lexpublic org.jcodings.Encoding getEncoding()
getEncoding in class LexerSourcepublic void setEncoding(org.jcodings.Encoding encoding)
setEncoding in class LexerSourcepublic org.jruby.util.ByteList gets()
gets in class LexerSourcepublic int getOffset()
getOffset in class LexerSourceCopyright © 2001-2015 JRuby. All Rights Reserved.