Function: org-element-code-parser

org-element-code-parser is a byte-compiled function defined in org-element.el.gz.

Signature

(org-element-code-parser)

Documentation

Parse code object at point, if any.

When at a code object, return a new syntax node of code type containing :value, :begin, :end and :post-blank properties. Otherwise, return nil.

Assume point is at the first tilde marker.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
;;;; Code

(defun org-element-code-parser ()
  "Parse code object at point, if any.

When at a code object, return a new syntax node of `code' type
containing `:value', `:begin', `:end' and `:post-blank' properties.
Otherwise, return nil.

Assume point is at the first tilde marker."
  (org-element--parse-generic-emphasis "~" 'code))