executioner.program.Program class documentationexecutioner.program
(View In Hierarchy)
Represent a program instance
| Method | __init__ | Create a new Program object |
| Instance Variable | uuid | The unique id of this program |
| Instance Variable | language | The language of the program |
| Instance Variable | code | The source code as a string |
| Instance Variable | settings | The language specific settings object |
| Instance Variable | sandbox | The sandbox to be used |
| Method | compile | compile the program |
| Method | execute | execute the program |
| Method | to_json_object | convert to JSON object |
| Static Method | from_json_object | Generate Program object from JSON object |
| Method | __eq__ | Undocumented |
| Method | __enter__ | Undocumented |
| Method | __exit__ | Undocumented |
| Method | __del__ | Delete history and files of program in sandbox instance |