@accordproject/concerto-tools
Advanced tools
Comparing version 3.6.1-20230223115101 to 3.6.1-20230308142539
@@ -23,2 +23,3 @@ /* | ||
module.exports.CodeGen = require('./lib/codegen/codegen'); | ||
module.exports.Common = require('./lib/common/common'); | ||
module.exports.version = require('./package.json'); |
@@ -17,3 +17,3 @@ /* | ||
const DiagramVisitor = require('../common/diagramvisitor'); | ||
const DiagramVisitor = require('../../../common/diagramvisitor'); | ||
@@ -26,3 +26,3 @@ /** | ||
* | ||
* @private | ||
* @protected | ||
* @class | ||
@@ -35,3 +35,3 @@ */ | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -52,3 +52,3 @@ visitModelManager(modelManager, parameters) { | ||
* @param {string} type - the type of the declaration | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -89,3 +89,3 @@ visitClassDeclaration(classDeclaration, parameters, type = 'concept') { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -108,3 +108,3 @@ visitRelationship(relationship, parameters) { | ||
* @return {String} string - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -111,0 +111,0 @@ escapeString(string) { |
@@ -17,3 +17,3 @@ /* | ||
const DiagramVisitor = require('../common/diagramvisitor'); | ||
const DiagramVisitor = require('../../../common/diagramvisitor'); | ||
@@ -26,3 +26,3 @@ /** | ||
* | ||
* @private | ||
* @protected | ||
* @class | ||
@@ -36,3 +36,3 @@ * @memberof module:concerto-tools | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -56,3 +56,3 @@ visitModelManager(modelManager, parameters) { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -67,3 +67,3 @@ visitAssetDeclaration(classDeclaration, parameters) { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -78,3 +78,3 @@ visitEnumDeclaration(classDeclaration, parameters) { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -89,3 +89,3 @@ visitParticipantDeclaration(classDeclaration, parameters) { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -101,3 +101,3 @@ visitTransactionDeclaration(classDeclaration, parameters) { | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -113,3 +113,3 @@ visitClassDeclaration(classDeclaration, parameters) { | ||
* @param {string} [style] - the style for the prototype (optional) | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -146,3 +146,3 @@ writeDeclaration(classDeclaration, parameters, style) { | ||
* @return {String} string - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
@@ -149,0 +149,0 @@ escapeString(string) { |
{ | ||
"name": "@accordproject/concerto-tools", | ||
"version": "3.6.1-20230223115101", | ||
"version": "3.6.1-20230308142539", | ||
"description": "Tools for the Concerto Modeling Language", | ||
@@ -70,4 +70,4 @@ "homepage": "https://github.com/accordproject/concerto", | ||
"dependencies": { | ||
"@accordproject/concerto-core": "3.6.1-20230223115101", | ||
"@accordproject/concerto-util": "3.6.1-20230223115101", | ||
"@accordproject/concerto-core": "3.6.1-20230308142539", | ||
"@accordproject/concerto-util": "3.6.1-20230308142539", | ||
"ajv": "8.10.0", | ||
@@ -74,0 +74,0 @@ "ajv-formats": "2.1.1", |
@@ -35,2 +35,3 @@ export var CodeGen: { | ||
}; | ||
export var Common: typeof import("./lib/common/common"); | ||
export var version: any; |
@@ -8,3 +8,3 @@ export = MermaidVisitor; | ||
* | ||
* @private | ||
* @protected | ||
* @class | ||
@@ -15,7 +15,22 @@ */ | ||
* Visitor design pattern | ||
* @param {ModelManager} modelManager - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitModelManager(modelManager: ModelManager, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @param {string} type - the type of the declaration | ||
* @protected | ||
*/ | ||
protected visitClassDeclaration(classDeclaration: ClassDeclaration, parameters: any, type?: string): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {RelationshipDeclaration} relationship - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
private visitRelationship; | ||
protected visitRelationship(relationship: RelationshipDeclaration, parameters: any): void; | ||
/** | ||
@@ -25,6 +40,6 @@ * Escape versions and periods. | ||
* @return {String} string - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
private escapeString; | ||
protected escapeString(string: string): string; | ||
} | ||
import DiagramVisitor = require("../common/diagramvisitor"); | ||
import DiagramVisitor = require("../../../common/diagramvisitor"); |
@@ -8,3 +8,3 @@ export = PlantUMLVisitor; | ||
* | ||
* @private | ||
* @protected | ||
* @class | ||
@@ -16,8 +16,43 @@ * @memberof module:concerto-tools | ||
* Visitor design pattern | ||
* @param {ModelManager} modelManager - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitModelManager(modelManager: ModelManager, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
private visitClassDeclaration; | ||
protected visitAssetDeclaration(classDeclaration: ClassDeclaration, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitEnumDeclaration(classDeclaration: ClassDeclaration, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitParticipantDeclaration(classDeclaration: ClassDeclaration, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitTransactionDeclaration(classDeclaration: ClassDeclaration, parameters: any): void; | ||
/** | ||
* Visitor design pattern | ||
* @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {Object} parameters - the parameter | ||
* @protected | ||
*/ | ||
protected visitClassDeclaration(classDeclaration: ClassDeclaration, parameters: any): void; | ||
/** | ||
* Write a class declaration | ||
@@ -27,5 +62,5 @@ * @param {ClassDeclaration} classDeclaration - the object being visited | ||
* @param {string} [style] - the style for the prototype (optional) | ||
* @private | ||
* @protected | ||
*/ | ||
private writeDeclaration; | ||
protected writeDeclaration(classDeclaration: ClassDeclaration, parameters: any, style?: string): void; | ||
/** | ||
@@ -35,6 +70,6 @@ * Escape versions and periods. | ||
* @return {String} string - the parameter | ||
* @private | ||
* @protected | ||
*/ | ||
private escapeString; | ||
protected escapeString(string: string): string; | ||
} | ||
import DiagramVisitor = require("../common/diagramvisitor"); | ||
import DiagramVisitor = require("../../../common/diagramvisitor"); |
/*! | ||
* Concerto Tools v3.6.1-20230223115101 | ||
* Concerto Tools v3.6.1-20230308142539 | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
@@ -4,0 +4,0 @@ * you may not use this file except in compliance with the License. |
Sorry, the diff of this file is too big to display
1818545
61
8118
+ Added@accordproject/concerto-core@3.6.1-20230308142539(transitive)
+ Added@accordproject/concerto-cto@3.6.1-20230308142539(transitive)
+ Added@accordproject/concerto-metamodel@3.6.1-20230308142539(transitive)
+ Added@accordproject/concerto-util@3.6.1-20230308142539(transitive)
- Removed@accordproject/concerto-core@3.6.1-20230223115101(transitive)
- Removed@accordproject/concerto-cto@3.6.1-20230223115101(transitive)
- Removed@accordproject/concerto-metamodel@3.6.1-20230223115101(transitive)
- Removed@accordproject/concerto-util@3.6.1-20230223115101(transitive)