Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should add a pragma to differentiate properties in slots and in #entityAttributes #821

Open
NicolasAnquetil opened this issue Sep 18, 2024 · 1 comment

Comments

@NicolasAnquetil
Copy link
Contributor

Moose entities have properties implemented in slots, for example:

FamixTMethod
	slots: { #parentType => FMOne type: #FamixTWithMethods opposite: #methods };

and other properties imlemented in their entityAttributes

MooseEntity >> allTagAssociations
	<FMProperty: #allTagAssociations type: #FamixTagAssociation opposite: #entity 
       ...
	^ self attributeAt: #allTagAssociations ifAbsentPut: [ ... ]

when dealing with slots like in Orion, it is important to differentiate both because the first uses a slot and not the second.

I propose to put a new pragma that could be tested through a method in FM3Property

@NicolasAnquetil
Copy link
Contributor Author

proposed name for the pragma: <isExtension> ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant