From 7ec87f007719d9cc702488dc2b8c49c44e50e4a9 Mon Sep 17 00:00:00 2001 From: "C. Fuhrman" Date: Mon, 29 Jul 2024 23:51:49 -0400 Subject: [PATCH] Add the properties for Property (isDefinitelyAssigned, isOptional, isJavaScriptPrivate) --- .../FamixTypeScriptGenerator.class.st | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st b/src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st index 6206a7c..ed86b8e 100644 --- a/src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st +++ b/src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st @@ -425,6 +425,12 @@ FamixTypeScriptGenerator >> defineProperties [ comment: 'Decorators use the form @expression, where expression must evaluate to a function that will be called at runtime with information about the decorated declaration'. (property property: #readOnly type: #Boolean defaultValue: false) comment: 'Properties may be prefixed with the readonly modifier. This prevents assignments to the field outside of the constructor.'. + (property property: #isDefinitelyAssigned type: #Boolean defaultValue: false) + comment: 'Properties may be postfixed with a definitely assigned modifier.'. + (property property: #isOptional type: #Boolean defaultValue: false) + comment: 'Properties may be postfixed with an optional modifier.'. + (property property: #isJavaScriptPrivate type: #Boolean defaultValue: false) + comment: 'Properties may be postfixed with a private modifier that makes the property private even in JavaScript.'. (comment property: #isJSDoc type: #Boolean defaultValue: false) comment: 'Comments can have the form of JSDoc.'.