>> Some metavariable types are supported by the semantic patch language so far.
>> Can it become helpful to let a customised function determine the concrete
>> value which should be used for a source code transformation specification?
>
> I have no idea what you are asking for.

@@
my_function get_content;
@@
-old_stuff
+get_content


> You can already write code in python or ocaml scripts that binds metavariables
> that you can use in later rules.

Do you refer to scripted constraints here?

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

Reply via email to