Class ParserPrism
java.lang.Object
org.jruby.parser.Parser
org.jruby.prism.parser.ParserPrism
public class ParserPrism
extends org.jruby.parser.Parser
-
Field Summary
Fields inherited from class org.jruby.parser.Parser
runtime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jruby.ParseResultaddGetsLoop(org.jruby.Ruby runtime, org.jruby.ParseResult result, boolean printing, boolean processLineEndings, boolean split) org.jruby.runtime.builtin.IRubyObjectgetLineStub(org.jruby.runtime.ThreadContext context, org.jruby.ParseResult arg, int lineCount) protected org.jruby.ParseResultparse(String fileName, int lineNumber, InputStream in, org.jcodings.Encoding encoding, org.jruby.runtime.DynamicScope existingScope, org.jruby.parser.ParserType type) org.jruby.ParseResultparse(String fileName, int lineNumber, org.jruby.util.ByteList content, org.jruby.runtime.DynamicScope existingScope, org.jruby.parser.ParserType type) Methods inherited from class org.jruby.parser.Parser
getLines, parse, parse, parse, parse
-
Constructor Details
-
ParserPrism
-
-
Method Details
-
parse
public org.jruby.ParseResult parse(String fileName, int lineNumber, org.jruby.util.ByteList content, org.jruby.runtime.DynamicScope existingScope, org.jruby.parser.ParserType type) - Overrides:
parsein classorg.jruby.parser.Parser
-
parse
protected org.jruby.ParseResult parse(String fileName, int lineNumber, InputStream in, org.jcodings.Encoding encoding, org.jruby.runtime.DynamicScope existingScope, org.jruby.parser.ParserType type) - Overrides:
parsein classorg.jruby.parser.Parser
-
getLineStub
public org.jruby.runtime.builtin.IRubyObject getLineStub(org.jruby.runtime.ThreadContext context, org.jruby.ParseResult arg, int lineCount) - Overrides:
getLineStubin classorg.jruby.parser.Parser
-
addGetsLoop
public org.jruby.ParseResult addGetsLoop(org.jruby.Ruby runtime, org.jruby.ParseResult result, boolean printing, boolean processLineEndings, boolean split) - Overrides:
addGetsLoopin classorg.jruby.parser.Parser
-