Display all Gateway event script code

I am trying to get all gateway event script code using gateway context by firing tag change event on one tag.Is it possible to get all script code through any built in ignition api, or by ignition sdk module development. Please help me to resolve this.