Skip to content

Commit

Permalink
feat(*): add type def
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Casey <[email protected]>
  • Loading branch information
jonathan-casey committed Nov 9, 2023
1 parent 2cce59e commit 5e2dcc5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
7 changes: 0 additions & 7 deletions types/lib/codegen/fromcto/golang/golangvisitor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,4 @@ declare class GoLangVisitor {
* @private
*/
private toGoPackageName;
/**
* Check if field is a Map Declaration
* @param {Field} field - the field being visited
* @return {boolean} true if field is a Map Declaration
* @private
*/
private isMap;
}
10 changes: 10 additions & 0 deletions types/lib/codegen/fromcto/xmlschema/xmlschemavisitor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ declare class XmlSchemaVisitor {
* @private
*/
private visitEnumDeclaration;
/**
* Visitor design pattern
* @param {MapDeclaration} mapDeclaration - the object being visited
* @param {Object} parameters - the parameter
* @return {Object} the result of visiting or null
* @private
*/
private visitMapDeclaration;
/**
* Visitor design pattern
* @param {ClassDeclaration} classDeclaration - the object being visited
Expand Down Expand Up @@ -85,6 +93,8 @@ declare class XmlSchemaVisitor {
* Converts a Concerto type to a XML Schema type. Primitive types are converted
* everything else is passed through unchanged.
* @param {string} type - the fully qualified concerto type name
* @param {Object} mapElement - the mapElement representing either the Key or Value of a MapDeclaration
* @param {MapDeclaration} mapDeclaration - the object representing a MapDeclaration
* @return {string} the corresponding type in XML Schema
* @private
*/
Expand Down

0 comments on commit 5e2dcc5

Please sign in to comment.