We appreciate your positive feedback!
ClearScript does not provide access to any structured representation of script code. In fact, as far as we know, none of the script engines it supports provides such access.
Therefore we recommend that you use another library for this purpose if simple string searching is insufficient. And because you have access to script engines, you can use parsing libraries written in script code! For example,
is one we've used successfully.