Skip to contentSkip to conversation

Object-orientation for metavariables

Cocci Markus Elfring 1 participant 1 message Jun 2, 2019

lore
Share & tools
lore
#0 lore raw

Hello,

The metavariables of the semantic patch variables provide a programming interface for various information from source code.
They were designed in the way so far that a single primary content is handled. The contents can refer also to more detailed data structures then. The system default is to return all structure members together.

I imagine that advanced source code analysis will trigger the need to work only with parts on concrete demand.
Thus I propose to delegate the selection of desired data sources to corresponding functions (or methods).
How do you think about software extensions in such a direction?
https://github.com/coccinelle/coccinelle/issues/22

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci