public class StringTerm extends StrTerm
| Modifier and Type | Field and Description |
|---|---|
protected org.jcodings.Encoding |
encodingOut |
| Constructor and Description |
|---|
StringTerm(int flags,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteList |
createByteList(RipperLexer lexer) |
int |
getFlags() |
int |
parseString(RipperLexer lexer,
LexerSource src) |
int |
parseStringIntoBuffer(RipperLexer lexer,
LexerSource src,
ByteList buffer,
org.jcodings.Encoding enc) |
protected ByteList createByteList(RipperLexer lexer)
public int parseString(RipperLexer lexer, LexerSource src) throws java.io.IOException
parseString in class StrTermjava.io.IOExceptionpublic int parseStringIntoBuffer(RipperLexer lexer, LexerSource src, ByteList buffer, org.jcodings.Encoding enc) throws java.io.IOException
java.io.IOExceptionCopyright © 2001-2020 JRuby. All Rights Reserved.