Skip to content

Commit 7ec87f0

Browse files
committed
Add the properties for Property (isDefinitelyAssigned, isOptional, isJavaScriptPrivate)
1 parent 0364f20 commit 7ec87f0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Famix-TypeScript-Generator/FamixTypeScriptGenerator.class.st

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,12 @@ FamixTypeScriptGenerator >> defineProperties [
425425
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'.
426426
(property property: #readOnly type: #Boolean defaultValue: false)
427427
comment: 'Properties may be prefixed with the readonly modifier. This prevents assignments to the field outside of the constructor.'.
428+
(property property: #isDefinitelyAssigned type: #Boolean defaultValue: false)
429+
comment: 'Properties may be postfixed with a definitely assigned modifier.'.
430+
(property property: #isOptional type: #Boolean defaultValue: false)
431+
comment: 'Properties may be postfixed with an optional modifier.'.
432+
(property property: #isJavaScriptPrivate type: #Boolean defaultValue: false)
433+
comment: 'Properties may be postfixed with a private modifier that makes the property private even in JavaScript.'.
428434
(comment property: #isJSDoc type: #Boolean defaultValue: false)
429435
comment: 'Comments can have the form of JSDoc.'.
430436

0 commit comments

Comments
 (0)