803 B
803 B
ESCStatement
Extends: Object
Description
A statement in an ESC file
Property Descriptions
statements
var statements: Array
The list of ESC commands
Method Descriptions
is_valid
func is_valid() -> bool
Check wether the statement should be run based on its conditions
run
func run() -> var
Execute this statement and return its return code
interrupt
func interrupt()
Interrupt the statement in the middle of its execution.
Signals
- signal finished(return_code): Emitted when the event did finish running
- signal interrupted(return_code): Emitted when the event was interrupted