From 04b079888a0bb0afa79d186a1005d91fbd798da0 Mon Sep 17 00:00:00 2001 From: "jonathan.casey" Date: Mon, 14 Aug 2023 22:28:06 +0100 Subject: [PATCH] feat(map): adds JSDoc @private Signed-off-by: jonathan.casey --- packages/concerto-core/lib/introspect/mapkeytype.js | 1 + packages/concerto-core/lib/introspect/mapvaluetype.js | 1 + packages/concerto-core/lib/serializer/jsonpopulator.js | 1 + 3 files changed, 3 insertions(+) diff --git a/packages/concerto-core/lib/introspect/mapkeytype.js b/packages/concerto-core/lib/introspect/mapkeytype.js index 7870bbed5..9c7169e1e 100644 --- a/packages/concerto-core/lib/introspect/mapkeytype.js +++ b/packages/concerto-core/lib/introspect/mapkeytype.js @@ -92,6 +92,7 @@ class MapKeyType extends Decorated { * Sets the Type name for the Map Key * * @param {Object} ast - The AST created by the parser + * @private */ processType(ast) { let decl; diff --git a/packages/concerto-core/lib/introspect/mapvaluetype.js b/packages/concerto-core/lib/introspect/mapvaluetype.js index 64462e7e5..8b2898a05 100644 --- a/packages/concerto-core/lib/introspect/mapvaluetype.js +++ b/packages/concerto-core/lib/introspect/mapvaluetype.js @@ -83,6 +83,7 @@ class MapValueType extends Decorated { * Sets the Type name for the Map Value * * @param {Object} ast - The AST created by the parser + * @private */ processType(ast) { let decl; diff --git a/packages/concerto-core/lib/serializer/jsonpopulator.js b/packages/concerto-core/lib/serializer/jsonpopulator.js index 7a90b0977..734b2494a 100644 --- a/packages/concerto-core/lib/serializer/jsonpopulator.js +++ b/packages/concerto-core/lib/serializer/jsonpopulator.js @@ -208,6 +208,7 @@ class JSONPopulator { * @param {Object} value - the key or value belonging to the Map Entry. * @param {Object} type - the Type associated with the Key or Value Map Entry. * @return {Object} value - the key or value belonging to the Map Entry. + * @private */ processMapType(mapDeclaration, parameters, value, type) { let decl = mapDeclaration.getModelFile()