;ELC ;;; Compiled ;;; in Emacs version 26.3 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\"\207" [require ob add-to-list org-babel-tangle-lang-exts ("groovy" . "groovy")] 3) (defvar org-babel-default-header-args:groovy nil) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable org-babel-groovy-command funcall function #[0 "\300\207" [#1="groovy"] 1 #1#] "Name of the command to use for executing Groovy code.\nMay be either a command in the path, like groovy\nor an absolute path name, like /usr/local/bin/groovy\nparameters may be used, like groovy -v" :group org-babel :version "24.3" :type string] 10) #@124 Execute a block of Groovy code with org-babel. This function is called by `org-babel-execute-src-block'. (fn BODY PARAMS) (defalias 'org-babel-execute:groovy #[514 "\300\301!\210\302!\303@!\3048\305\236A\306\"\307$\310\311\312\n\236A\313 \236A\"\311\314 \236A\315\f\236A\"#\207" [message "executing Groovy source code block" org-babel-process-params org-babel-groovy-initiate-session 2 :result-type org-babel-expand-body:generic org-babel-groovy-evaluate org-babel-reassemble-table org-babel-pick-name :colname-names :colnames :rowname-names :rownames] 15 (#$ . 1005)]) (defvar org-babel-groovy-wrapper-method "class Runner extends Script {\n def out = new PrintWriter(new ByteArrayOutputStream())\n def run() { %s }\n}\n\nprintln(new Runner().run())\n") #@262 Evaluate BODY in external Groovy process. If RESULT-TYPE equals `output' then return standard output as a string. If RESULT-TYPE equals `value' then return the value of the last statement in BODY as elisp. (fn SESSION BODY &optional RESULT-TYPE RESULT-PARAMS) (defalias 'org-babel-groovy-evaluate #[1026 "\203\302\303!\210\304=\203B\305\306!\211\307\310\311!!\312\313\314\315\316!\317\"\320$\216r\211q\210c\210)r\211q\210\321\322\211\322\313%\210*\266\323\324Q\325\"\207\326=\203\325\305\306!\327 \"\307\310\311!!\312\313\314\315\316!\330\"\320$\216r\211q\210c\210)r\211q\210\321\322\211\322\313%\210*\266\323\324Q\325\"\331\235?\205\320\332\235\204\311\333\235\204\311\334\235\204\311\335\235\204\311\336\235\204\311\337\235\204\311\340\235\204\303\341\235\204\303\342\235\204\303\343\235\203\315\344\235\204\315\202\320\345!\262\262\207\322\207" [org-babel-groovy-command org-babel-groovy-wrapper-method error "Sessions are not (yet) supported for Groovy" output org-babel-temp-file "groovy_" get-buffer-create generate-new-buffer-name " *temp file*" make-byte-code 0 "\301\300!\205 \302\300!\207" vconcat vector [buffer-name kill-buffer] 2 write-region nil org-babel-eval " " "" value format [buffer-name kill-buffer] "none" "scalar" "verbatim" "html" "code" "pp" "file" "output" "raw" "org" "drawer" "table" org-babel-script-escape] 14 (#$ . 1792)]) #@93 Prepare SESSION according to the header arguments specified in PARAMS. (fn SESSION PARAMS) (defalias 'org-babel-prep-session:groovy #[514 "\300\301!\207" [error "Sessions are not (yet) supported for Groovy"] 4 (#$ . 3205)]) #@171 If there is not a current inferior-process-buffer in SESSION then create. Return the initialized session. Sessions are not supported in Groovy. (fn &optional SESSION) (defalias 'org-babel-groovy-initiate-session #[256 "\300\207" [nil] 2 (#$ . 3437)]) (provide 'ob-groovy)