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
    Constructor
    Description
    ParserPrism(org.jruby.Ruby runtime, ParserBindingPrism prismLibrary)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jruby.ParseResult
    addGetsLoop(org.jruby.Ruby runtime, org.jruby.ParseResult result, boolean printing, boolean processLineEndings, boolean split)
     
    org.jruby.runtime.builtin.IRubyObject
    getLineStub(org.jruby.runtime.ThreadContext context, org.jruby.ParseResult arg, int lineCount)
     
    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)
     
    org.jruby.ParseResult
    parse(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParserPrism

      public ParserPrism(org.jruby.Ruby runtime, ParserBindingPrism prismLibrary)
  • 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:
      parse in class org.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:
      parse in class org.jruby.parser.Parser
    • getLineStub

      public org.jruby.runtime.builtin.IRubyObject getLineStub(org.jruby.runtime.ThreadContext context, org.jruby.ParseResult arg, int lineCount)
      Overrides:
      getLineStub in class org.jruby.parser.Parser
    • addGetsLoop

      public org.jruby.ParseResult addGetsLoop(org.jruby.Ruby runtime, org.jruby.ParseResult result, boolean printing, boolean processLineEndings, boolean split)
      Overrides:
      addGetsLoop in class org.jruby.parser.Parser