Class ParserPrismNative

java.lang.Object
org.jruby.parser.Parser
org.jruby.prism.parser.ParserPrismBase
org.jruby.prism.parser.ParserPrismNative

public class ParserPrismNative extends ParserPrismBase
  • Field Summary

    Fields inherited from class ParserPrismBase

    parserTiming
    Modifier and Type
    Field
    Description
    protected boolean
     

    Fields inherited from class org.jruby.parser.Parser

    runtime
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParserPrismNative(org.jruby.Ruby runtime, ParserBindingPrism prismLibrary)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected byte[]
    parse(byte[] source, int sourceLength, byte[] metadata)
     

    Methods inherited from class ParserPrismBase

    addGetsLoop, getLineStub, parse, parse
    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 Object

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

    • ParserPrismNative

      public ParserPrismNative(org.jruby.Ruby runtime, ParserBindingPrism prismLibrary)
  • Method Details

    • parse

      protected byte[] parse(byte[] source, int sourceLength, byte[] metadata)
      Specified by:
      parse in class ParserPrismBase