Top Fields Constructors Methods
org.jruby.lexer.yacc

public Class StringTerm

extends StrTerm
Class Inheritance
Imports
java.io.IOException, org.jcodings.Encoding, org.jruby.ast.RegexpNode, org.jruby.ext.ripper.RipperParser, org.jruby.parser.RubyParser, org.jruby.util.ByteList, .RegexpOptions, .Sprintf

Field Summary

Modifier and TypeField and Description
private final char
private final char
private int
private int
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
private int
private void
escaped(RubyLexer lexer, ByteList buffer)

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

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

private boolean

Field Detail

beginback to summary
private final char begin
endback to summary
private final char end
flagsback to summary
private int flags
nestback to summary
private int nest
startLineback to summary
private final int startLine

Constructor Detail

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

Method Detail

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

Implements abstract org.jruby.lexer.yacc.StrTerm.getFlags.

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

Implements abstract org.jruby.lexer.yacc.StrTerm.parseString.

parseStringIntoBufferback to summary
public int parseStringIntoBuffer(RubyLexer lexer, ByteList buffer, Encoding encoding, boolean[] encodingDetermined) throws IOException
simple_re_metaback to summary
private boolean simple_re_meta(int c)