Function: srecode-compound-toString

srecode-compound-toString is a byte-compiled function defined in dictionary.el.gz.

Signature

(srecode-compound-toString ARG &rest ARGS)

Implementations

(srecode-compound-toString (CP srecode-semantic-tag) FUNCTION DICTIONARY) in `srecode/semantic.el'.

Convert the compound dictionary value CP to a string. If FUNCTION is non-nil, then FUNCTION is somehow applied to an aspect of the compound value.

(srecode-compound-toString (CP srecode-field-value) FUNCTION DICTIONARY) in `srecode/dictionary.el'.

Convert this field into an insertable string.

(srecode-compound-toString (CP srecode-dictionary-compound-variable) FUNCTION DICTIONARY) in `srecode/dictionary.el'.

Convert the compound dictionary variable value CP into a string. FUNCTION and DICTIONARY are as for the baseclass.

(srecode-compound-toString (CP srecode-dictionary-compound-value) FUNCTION DICTIONARY) in `srecode/dictionary.el'.

Convert the compound dictionary value CP to a string. If FUNCTION is non-nil, then FUNCTION is somehow applied to an aspect of the compound value. The FUNCTION could be a fraction of some function symbol with a logical prefix excluded.

If you subclass `srecode-dictionary-compound-value' then this method could return nil, but if it does that, it must insert the value itself using `princ', or by detecting if the current standard out is a buffer, and using `insert'.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/srecode/dictionary.el.gz
;;; COMPOUND VALUE METHODS
;;
;; Compound values must provide at least the toString method
;; for use in converting the compound value into something insertable.

(cl-defmethod srecode-compound-toString ((cp srecode-dictionary-compound-value)
                                         _function
                                         _dictionary)
  "Convert the compound dictionary value CP to a string.
If FUNCTION is non-nil, then FUNCTION is somehow applied to an aspect
of the compound value.  The FUNCTION could be a fraction
of some function symbol with a logical prefix excluded.

If you subclass `srecode-dictionary-compound-value' then this
method could return nil, but if it does that, it must insert
the value itself using `princ', or by detecting if the current
standard out is a buffer, and using `insert'."
  (eieio-object-name cp))