A statement in an ESC file
var statements: Array
The list of ESC commands
var source: String = ""
The source of this statement, e.g. an ESC script or a class.
func is_valid() -> bool
Check whether the statement should be run based on its conditions
func run() -> var
Execute this statement and return its return code
Interrupt the statement in the middle of its execution.
Resets an interrupted event
signal finished(event, return_code): Emitted when the event did finish running
signal interrupted(return_code): Emitted when the event was interrupted