How to invoke Parser Code generation of Grammar-kit through code

How can I invoke the funcition of the (cmd+shift+g) using code? Calling some API of grammar-kit or something like this programmatically.

Thanks!!

Please sign in to leave a comment.