Top Fields Constructors Methods
org.jruby.ext.ripper

public Class StringTerm

extends StrTerm
Class Inheritance
Imports
java.io.IOException, java.util.ArrayList, .List, org.jcodings.Encoding, org.jruby.Ruby, org.jruby.lexer.LexerSource, org.jruby.util.ByteList, .RegexpOptions

Field Summary

Modifier and TypeField and Description
private final char
protected Encoding
private final char
private int
private int
private boolean
private List<ByteList>
private final int

Constructor Summary

AccessConstructor and Description
public
StringTerm(int flags, int begin, int end, int startLine)

Method Summary

Modifier and TypeMethod and Description
protected ByteList
private int
private void
escaped(RubyLexer lexer, LexerSource src, ByteList buffer)

public int
private void
mixedEscape(RubyLexer lexer, Encoding foundEncoding, Encoding parserEncoding)

private void
public int
public int
parseStringIntoBuffer(RubyLexer lexer, LexerSource src, ByteList buffer, Encoding encoding, boolean[] encodingDetermined)

private boolean
private void

Field Detail

beginback to summary
private final char begin
encodingOutback to summary
protected Encoding encodingOut
endback to summary
private final char end
flagsback to summary
private int flags
nestback to summary
private int nest
regexpDynamicback to summary
private boolean regexpDynamic
regexpFragmentsback to summary
private List<ByteList> regexpFragments
startLineback to summary
private final int startLine

Constructor Detail

StringTermback to summary
public StringTerm(int flags, int begin, int end, int startLine)

Method Detail

createByteListback to summary
protected ByteList createByteList(RubyLexer lexer)
endFoundback to summary
private int endFound(RubyLexer lexer) throws IOException
escapedback to summary
private void escaped(RubyLexer lexer, LexerSource src, ByteList buffer) throws IOException
getFlagsback to summary
public int getFlags()

Implements abstract org.jruby.ext.ripper.StrTerm.getFlags.

mixedEscapeback to summary
private void mixedEscape(RubyLexer lexer, Encoding foundEncoding, Encoding parserEncoding)
parseEscapeIntoBufferback to summary
private void parseEscapeIntoBuffer(RubyLexer lexer, LexerSource src, ByteList buffer) throws IOException
parseStringback to summary
public int parseString(RubyLexer lexer, LexerSource src) throws IOException

Implements abstract org.jruby.ext.ripper.StrTerm.parseString.

Annotations
@Override
parseStringIntoBufferback to summary
public int parseStringIntoBuffer(RubyLexer lexer, LexerSource src, ByteList buffer, Encoding encoding, boolean[] encodingDetermined) throws IOException
simple_re_metaback to summary
private boolean simple_re_meta(int c)
validateRegexpback to summary
private void validateRegexp(RubyLexer lexer) throws IOException