6.9 Tag Utilities
(require scribble/tag) | package: scribble-lib |
procedure
(make-section-tag name [ #:doc doc-mod-path #:tag-prefixes tag-prefixes]) → tag? name : string? doc-mod-path : (or/c module-path? #f) = #f tag-prefixes : (or/c #f (listof string?)) = #f
procedure
(make-module-language-tag lang) → tag?
lang : symbol?
A taglet is a value that can be combined with a symbol via list to form a tag, but that is not a generated-tag. A taglet is therefore useful as a piece of a tag, and specifically as a piece of a tag that can gain a prefix (e.g., to refer to a section of a document from outside the document).
procedure
(doc-prefix mod-path taglet) → taglet?
mod-path : (or/c #f module-path?) taglet : taglet? (doc-prefix mod-path extra-prefixes taglet) → taglet? mod-path : (or/c #f module-path?) extra-prefixes : (or/c #f (listof taglet?)) taglet : taglet?
If extra-prefixes is provided, then its content is added as a extra prefix elements before the prefix for mod-path is added. A #f value for extra-prefixes is equivalent to '().
If mod-path is #f, then taglet is returned without a prefix (except adding extra-prefixes, if provided).
procedure
(module-path-prefix->string mod-path) → string?
mod-path : module-path?
procedure
(module-path-index->taglet mpi) → taglet?
mpi : module-path-index?
The string form of the taglet is used as prefix in a tag to form cross-references into the document that is implemented by the module referenced by mpi.
procedure
(intern-taglet v) → any/c
v : any/c
procedure
(definition-tag->class/interface-tag definition-tag)
→ class/interface-tag? definition-tag : definition-tag?
Added in version 1.11 of package scribble-lib.
procedure
(class/interface-tag->constructor-tag class/interface-tag)
→ constructor-tag? class/interface-tag : class/interface-tag?
Added in version 1.11 of package scribble-lib.
procedure
(get-class/interface-and-method method-tag) →
symbol? symbol? method-tag : method-tag?
Added in version 1.11 of package scribble-lib.
procedure
(definition-tag? v) → boolean?
v : any/c
Added in version 1.11 of package scribble-lib.
procedure
(class/interface-tag? v) → boolean?
v : any/c
Added in version 1.11 of package scribble-lib.
procedure
(method-tag? v) → boolean?
v : any/c
Added in version 1.11 of package scribble-lib.
procedure
(constructor-tag? v) → boolean?
v : any/c
Added in version 1.11 of package scribble-lib.