All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] Object-orientation for metavariables
@ 2019-06-02 12:44 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2019-06-02 12:44 UTC (permalink / raw)
  To: Coccinelle

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
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-02 12:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-02 12:44 [Cocci] Object-orientation for metavariables Markus Elfring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.