commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\302\303\304\"\207" [require ob add-to-list org-babel-tangle-lang-exts ("groovy" . "groovy")] 3) |
|
16 |
(defvar org-babel-default-header-args:groovy nil) |
|
17 |
(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) |
|
18 |
#@124 Execute a block of Groovy code with org-babel. This function is |
|
19 |
called by `org-babel-execute-src-block' |
|
20 |
|
|
21 |
(fn BODY PARAMS) |
|
22 |
(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)]) |
|
23 |
(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") |
|
24 |
#@262 Evaluate BODY in external Groovy process. |
|
25 |
If RESULT-TYPE equals `output' then return standard output as a string. |
|
26 |
If RESULT-TYPE equals `value' then return the value of the last statement |
|
27 |
in BODY as elisp. |
|
28 |
|
|
29 |
(fn SESSION BODY &optional RESULT-TYPE RESULT-PARAMS) |
|
30 |
(defalias 'org-babel-groovy-evaluate #[1026 "\203 \302\303!\210\304\267\202\317 \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\305\306!\326 \"\307\310\311!!\312\313\314\315\316!\327\"\320$\216r\211q\210c\210)r\211q\210\321\322\211\322\313%\210*\266\323\324Q\325\"\330\235?\205\312 \331\235\204\303 \332\235\204\303 \333\235\204\303 \334\235\204\303 \335\235\204\303 \336\235\204\303 \337\235\204\275 \340\235\204\275 \341\235\204\275 \342\235\203\307 \343\235\204\307 \202\312 \344!\262\262\207\322\207" [org-babel-groovy-command org-babel-groovy-wrapper-method error "Sessions are not (yet) supported for Groovy" #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (output 14 value 66)) org-babel-temp-file "groovy_" get-buffer-create generate-new-buffer-name " *temp file*" make-byte-code 0 "\301\300!\205 |