Liking cljdoc? Tell your friends :D
Clojure only.

mermaid-processor.chart-parser


parsercljmultimethod

A multimethod that determines the appropriate parser function based on the type of chart provided.

ARGUMENTS:

  • chart-name: The name or type of the chart (e.g., 'flowchart', 'sequence'). This determines which method implementation will be used.
  • _: A placeholder for the chart content, which is not used in the dispatch function but may be used in method implementations.

RETURN: The result of the dispatched method implementation for the given chart type.

USAGE: Implementations for specific chart types should be added using defmethod with the chart type as the dispatch value.

A multimethod that determines the appropriate parser function based on the type of chart provided.

ARGUMENTS:
- chart-name: The name or type of the chart (e.g., 'flowchart', 'sequence'). This determines which method implementation will be used.
- _: A placeholder for the chart content, which is not used in the dispatch function but may be used in method implementations.

RETURN:
The result of the dispatched method implementation for the given chart type.

USAGE:
Implementations for specific chart types should be added using `defmethod` with the chart type as the dispatch value.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close