Uses of Interface
org.jruby.ParseResult
Packages that use ParseResult
Package
Description
-
Uses of ParseResult in org.jruby
Methods in org.jruby that return ParseResultModifier and TypeMethodDescriptionRuby.parseEval
(ByteList source, String file, DynamicScope scope, int lineNumber) Deprecated.Ruby.parseFile
(String file, InputStream in, DynamicScope scope) Deprecated.Ruby.parseFile
(String file, InputStream in, DynamicScope scope, int lineNumber) Deprecated.Ruby.parseFileFromMain
(String file, InputStream in, DynamicScope scope) Deprecated.Ruby.parseFromMain
(String fileName, InputStream in) Methods in org.jruby with parameters of type ParseResultModifier and TypeMethodDescriptionRuby.runInterpreter
(ParseResult parseResult) Ruby.runInterpreter
(ThreadContext context, ParseResult parseResult, IRubyObject self) Ruby.runNormally
(ParseResult scriptNode, IRubyObject self, boolean wrap) Ruby.runWithGetsLoop
(ParseResult scriptNode, boolean printing, boolean processLineEnds, boolean split) Run the given script with a "while gets; end" loop wrapped around it.Ruby.tryCompile
(ParseResult result) Try to compile the code associated with the given Node, returning an instance of the successfully-compiled Script or null if the script could not be compiled. -
Uses of ParseResult in org.jruby.ast
Classes in org.jruby.ast that implement ParseResult -
Uses of ParseResult in org.jruby.ir
Classes in org.jruby.ir that implement ParseResultModifier and TypeClassDescriptionclass
class
class
class
Represents a 'for' loopclass
class
class
class
Right now, this class abstracts the following execution scopes: Method, Closure, Module, Class, MetaClass Top-level Script, and Eval Script In the compiler-land, IR versions of these scopes encapsulate only as much information as is required to convert Ruby code into equivalent Java code.class
Methods in org.jruby.ir with parameters of type ParseResultModifier and TypeMethodDescriptionIRTranslator.execute
(ThreadContext context, ParseResult result, S specificObject) -
Uses of ParseResult in org.jruby.ir.builder
Methods in org.jruby.ir.builder with parameters of type ParseResultModifier and TypeMethodDescriptionabstract Operand
IRBuilder.build
(ParseResult result) IRBuilderAST.build
(ParseResult result) IRBuilder.buildEvalRoot
(ParseResult rootNode) static InterpreterContext
IRBuilder.buildRoot
(IRManager manager, ParseResult rootNode) protected InterpreterContext
IRBuilder.buildRootInner
(ParseResult parseResult) IRBuilderFactory.topIRBuilder
(IRManager manager, IRScope newScope, ParseResult rootNode) -
Uses of ParseResult in org.jruby.javasupport
Constructors in org.jruby.javasupport with parameters of type ParseResult -
Uses of ParseResult in org.jruby.parser
Methods in org.jruby.parser that return ParseResultModifier and TypeMethodDescriptionParser.addGetsLoop
(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) ParserManager.addGetsLoop
(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) protected ParseResult
Parser.parse
(String fileName, int lineNumber, InputStream in, org.jcodings.Encoding encoding, DynamicScope existingScope, ParserType type) Parser.parse
(String fileName, int lineNumber, ByteList content, DynamicScope existingScope, ParserType type) ParserManager.parseEval
(String fileName, int lineNumber, String source, DynamicScope scope) ParserManager.parseEval
(String fileName, int lineNumber, ByteList source, DynamicScope scope) ParserManager.parseFile
(String fileName, int lineNumber, InputStream in, org.jcodings.Encoding encoding) Parse a (non-main) file.ParserManager.parseMainFile
(String fileName, int lineNumber, InputStream in, org.jcodings.Encoding encoding, DynamicScope scope, ParserType type) Parse main file (-e or main script file).Methods in org.jruby.parser with parameters of type ParseResultModifier and TypeMethodDescriptionParser.addGetsLoop
(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) ParserManager.addGetsLoop
(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) Parser.getLineStub
(ThreadContext context, ParseResult result, int lineCount)