compilation-internal-error-properties

compilation-internal-error-properties is a compiled Lisp function in `compile.el'.

(compilation-internal-error-properties FILE LINE END-LINE COL END-COL TYPE FMTS)

Get the meta-info that will be added as text-properties.
LINE, END-LINE, COL, END-COL are integers or nil.
TYPE can be 0, 1, or 2, meaning error, warning, or just info.
FILE should be (FILENAME) or (RELATIVE-FILENAME . DIRNAME) or nil.
FMTS is a list of format specs for transforming the file name.
(See `compilation-error-regexp-alist'.)