Re: [PATCH v2 03/16] Add string_slice class.

2025-02-18 Thread Richard Sandiford
Alfie Richards writes: > The string_slice inherits from array_slice and is used to refer to a > substring of an array that is memory managed elsewhere without modifying > the underlying array. > > For example, this is useful in cases such as when needing to refer to a > substring of an attribute i

[PATCH v2 03/16] Add string_slice class.

2025-02-17 Thread Alfie Richards
The string_slice inherits from array_slice and is used to refer to a substring of an array that is memory managed elsewhere without modifying the underlying array. For example, this is useful in cases such as when needing to refer to a substring of an attribute in the syntax tree. This commit al