Function: apheleia-formatter--context--eieio-childp
apheleia-formatter--context--eieio-childp is a byte-compiled function
defined in apheleia-formatter-context.el.
Signature
(apheleia-formatter--context--eieio-childp OBJ)
Documentation
Return non-nil if OBJ is an object of type
apheleia-formatter--context(var)/apheleia-formatter--context(fun) or a subclass.
Aliases
apheleia-formatter--context-child-p (obsolete since 25.1)
Source Code
;; Defined in /nix/store/lwcwryzabcmvjcwwzzs65jrwf7p7d7cs-emacs-packages-deps/share/emacs/site-lisp/elpa/apheleia-20260915.1628/apheleia-formatter-context.el
(defclass apheleia-formatter--context ()
((name
:documentation "The symbol identifier for this formatter.
Set this to nil if the command being run does not correspond to a formatter."
:accessor apheleia-formatter--name)
(arg1
:documentation "Process used to invoke formatter."
:accessor apheleia-formatter--arg1)
(argv
:documentation "Extra command line arguments for the formatter."
:accessor apheleia-formatter--argv)
(remote
:documentation "Whether this formatter should run on a remote machine.
When set apheleia will use the formatter buffers file-handler, allowing the
process to be spawned on remote machines."
:accessor apheleia-formatter--remote)
(stdin
:documentation "Input buffer.
Set to nil when the formatter reads from a file-path instead of standard
input."
:accessor apheleia-formatter--stdin)
(input-fname
:documentation "Optional path to a temporary copy of the input buffer.
When set the stdin slot is not set and the formatter will be reading from this
file path. `apheleia' will delete this file on cleanup."
:accessor apheleia-formatter--input-fname
:initform nil)
(output-fname
:documentation "Optional path to a temporary output file.
When set the formatter process is meant to write the formatted input to this
file. `apheleia' will delete this file on cleanup."
:accessor apheleia-formatter--output-fname
:initform nil)
(exit-status
:documentation "The exit-code of the formatter process.
This is unset until after the process is run."
:accessor apheleia-formatter--exit-status))
:documentation "Maintain the state of a formatter process.")