public class StringTerm extends StrTerm
| Modifier and Type | Field and Description |
|---|---|
private char |
begin |
private char |
end |
private int |
flags |
private int |
nest |
| Constructor and Description |
|---|
StringTerm(int flags,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jruby.util.ByteList |
createByteList(RipperLexer lexer) |
private int |
endFound(RipperLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer) |
private void |
escaped(RipperLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer) |
private void |
mixedEscape(RipperLexer lexer,
org.jcodings.Encoding foundEncoding,
org.jcodings.Encoding parserEncoding) |
private void |
parseEscapeIntoBuffer(RipperLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer) |
private java.lang.String |
parseRegexpFlags(RipperLexer lexer,
LexerSource src) |
int |
parseString(RipperLexer lexer,
LexerSource src) |
int |
parseStringIntoBuffer(RipperLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer,
org.jcodings.Encoding[] enc) |
private boolean |
simple_re_meta(int c) |
private int flags
private final char begin
private final char end
private int nest
protected org.jruby.util.ByteList createByteList(RipperLexer lexer)
private int endFound(RipperLexer lexer, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOExceptionpublic int parseString(RipperLexer lexer, LexerSource src) throws java.io.IOException
parseString in class StrTermjava.io.IOExceptionprivate java.lang.String parseRegexpFlags(RipperLexer lexer, LexerSource src) throws java.io.IOException
java.io.IOExceptionprivate void mixedEscape(RipperLexer lexer, org.jcodings.Encoding foundEncoding, org.jcodings.Encoding parserEncoding)
public int parseStringIntoBuffer(RipperLexer lexer, LexerSource src, org.jruby.util.ByteList buffer, org.jcodings.Encoding[] enc) throws java.io.IOException
java.io.IOExceptionprivate boolean simple_re_meta(int c)
private void escaped(RipperLexer lexer, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOExceptionprivate void parseEscapeIntoBuffer(RipperLexer lexer, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOException