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 |
|---|---|
private int |
addNonAsciiToBuffer(int c,
LexerSource src,
org.jcodings.Encoding encoding,
RubyYaccLexer lexer,
org.jruby.util.ByteList buffer) |
protected org.jruby.util.ByteList |
createByteList(RubyYaccLexer lexer) |
private int |
endFound(RubyYaccLexer lexer,
LexerSource src) |
private void |
escaped(RubyYaccLexer lexer,
org.jcodings.Encoding encoding,
LexerSource src,
org.jruby.util.ByteList buffer) |
private static boolean |
isAlphabetic(int codePoint) |
private void |
mixedEscape(RubyYaccLexer lexer,
org.jcodings.Encoding foundEncoding,
org.jcodings.Encoding parserEncoding) |
private void |
parseEscapeIntoBuffer(RubyYaccLexer lexer,
org.jcodings.Encoding encoding,
LexerSource src,
org.jruby.util.ByteList buffer) |
private int |
parsePeekVariableName(RubyYaccLexer lexer,
LexerSource src) |
private RegexpOptions |
parseRegexpFlags(LexerSource src) |
int |
parseString(RubyYaccLexer lexer,
LexerSource src) |
int |
parseStringIntoBuffer(RubyYaccLexer lexer,
LexerSource src,
org.jruby.util.ByteList buffer) |
private int flags
private final char begin
private final char end
private int nest
protected org.jruby.util.ByteList createByteList(RubyYaccLexer lexer)
private int endFound(RubyYaccLexer lexer, LexerSource src) throws java.io.IOException
java.io.IOExceptionprivate int parsePeekVariableName(RubyYaccLexer lexer, LexerSource src) throws java.io.IOException
java.io.IOExceptionprivate static boolean isAlphabetic(int codePoint)
public int parseString(RubyYaccLexer lexer, LexerSource src) throws java.io.IOException
parseString in class StrTermjava.io.IOExceptionprivate RegexpOptions parseRegexpFlags(LexerSource src) throws java.io.IOException
java.io.IOExceptionprivate void mixedEscape(RubyYaccLexer lexer, org.jcodings.Encoding foundEncoding, org.jcodings.Encoding parserEncoding)
public int parseStringIntoBuffer(RubyYaccLexer lexer, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOExceptionprivate void escaped(RubyYaccLexer lexer, org.jcodings.Encoding encoding, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOExceptionprivate void parseEscapeIntoBuffer(RubyYaccLexer lexer, org.jcodings.Encoding encoding, LexerSource src, org.jruby.util.ByteList buffer) throws java.io.IOException
java.io.IOExceptionprivate int addNonAsciiToBuffer(int c,
LexerSource src,
org.jcodings.Encoding encoding,
RubyYaccLexer lexer,
org.jruby.util.ByteList buffer)
throws SyntaxException,
java.io.IOException
SyntaxExceptionjava.io.IOException