> The before, within and after comments are lists of strings.

I got further software development ideas around the provided data structures.

* If you would like to search within the text of multi-line comments
  by the means of regular expressions, the list elements need to be
  concatenated before.
  See also:
  Using a match result from an OCaml rule as a SmPL dependency
  https://systeme.lip6.fr/pipermail/cocci/2019-May/005889.html

  I imagine then that it would occasionally be more convenient to work with
  a string directly instead of a list.

* Advanced source code analysis and transformation triggers the need
  to manage the provided data exactly. The determination of source code 
positions
  is required then for safe data processing.
  Should the programming interface be a class then (which is different from a 
list)?

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

Reply via email to