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 is a website building & hosting documentation for Clojure/Script libraries

× close