Class: Metanorma::Plugin::Lutaml::LutamlUmlDatamodelDescriptionPreprocessor

Inherits:
Asciidoctor::Extensions::Preprocessor
  • Object
show all
Includes:
LutamlEaXmiBase
Defined in:
lib/metanorma/plugin/lutaml/lutaml_uml_datamodel_description_preprocessor.rb

Overview

Macro for quick rendering of datamodel attributes/values table TODO: merge with lutaml_ea_xmi

Constant Summary collapse

MACRO_REGEXP =
/\[lutaml_uml_datamodel_description,([^,]+),?(.+)?\]/.freeze

Constants included from LutamlEaXmiBase

Metanorma::Plugin::Lutaml::LutamlEaXmiBase::DEFAULT_RENDER_INCLUDE, Metanorma::Plugin::Lutaml::LutamlEaXmiBase::LIQUID_INCLUDE_PATH, Metanorma::Plugin::Lutaml::LutamlEaXmiBase::RENDER_STYLES_INCLUDES, Metanorma::Plugin::Lutaml::LutamlEaXmiBase::RENDER_STYLE_ATTRIBUTE, Metanorma::Plugin::Lutaml::LutamlEaXmiBase::SUPPORTED_NESTED_MACRO, Metanorma::Plugin::Lutaml::LutamlEaXmiBase::XMI_INDEX_REGEXP

Constants included from Utils

Utils::LUTAML_EXP_IDX_TAG

Method Summary

Methods included from LutamlEaXmiBase

#process

Methods included from Utils

create_liquid_environment, load_express_from_folder, load_express_from_index, load_express_repo_from_cache, load_express_repo_from_path, load_express_repositories, notify_render_errors, parse_document_express_indexes, processed_lines, relative_file_path, render_liquid_string, save_express_repo_to_cache