Managed to find a somewhat okay solution by finding the codeunit where the expression starts, and then using Meta.parse(::String, idx)
which gives the parsed expression starting at idx
and the end codeunit of the expression
Mason Protter has marked this topic as resolved.
Last updated: Sep 07 2025 at 04:39 UTC