MMCT TEAM
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  ]

Current File : //usr/share/emacs/24.3/lisp/org/ob-scala.elc
;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<\312\313!\211\314\315\316!!\317\216rq\210
c\210)rq\210\320\321\211\f\321\322%\210,\323\324\nQ\325\")\207\310	\326\"\205\216\312\313!\327
\"\n\314\315\316!!\330\216rq\210c\210)rq\210\320\321\211\321\322%\210,\323\324\nQ\325\" \331!\235\203\211 \202\215\332 !+\207" [session result-type src-file #1=#:temp-buffer #2=#:temp-file body error "Sessions are not (yet) supported for Scala" eql output org-babel-temp-file "scala-" get-buffer-create generate-new-buffer-name " *temp file*" ((byte-code "\301!\203\n\302!\210\301\207" [#1# buffer-name kill-buffer] 2)) write-region nil 0 org-babel-eval " " "" value format ((byte-code "\301!\203\n\302!\210\301\207" [#3=#:temp-buffer buffer-name kill-buffer] 2)) "code" org-babel-scala-table-or-string org-babel-scala-command org-babel-scala-wrapper-method wrapper #3# #4=#:temp-file raw result-params] 7 (#$ . 2090)])
#@72 Prepare SESSION according to the header arguments specified in PARAMS.
(defalias 'org-babel-prep-session:scala #[(session params) "\300\301!\207" [error "Sessions are not (yet) supported for Scala"] 2 (#$ . 3322)])
#@146 If there is not a current inferior-process-buffer in SESSION
then create.  Return the initialized session.  Sessions are not
supported in Scala.
(defalias 'org-babel-scala-initiate-session #[(&optional session) "\300\207" [nil] 1 (#$ . 3544)])
(provide 'ob-scala)

MMCT - 2023