Inherits org.qscript.events.ScriptEvent.
Public Member Functions | |
WaitEvent (Script script, ErrorType etype, int lineNo, int pos, int width, Object[] extra) | |
WaitEvent (Script script, ErrorType etype, int lineNo, int pos, int width) | |
Public Member Functions inherited from org.qscript.events.ScriptEvent | |
ScriptEvent (Script script, ErrorType etype, int lineNo, int pos, int width, Object[] extra) | |
ScriptEvent (Script script, ErrorType etype, int lineNo, int pos, int width) | |
Script | getSource () |
Script | getScript () |
String | getMessage () |
String | toString () |
Additional Inherited Members | |
Public Attributes inherited from org.qscript.events.ScriptEvent | |
final ErrorType | etype |
final int | lineNo |
final int | pos |
final int | width |
final Object[] | extra |
Protected Attributes inherited from org.qscript.events.ScriptEvent | |
final String | f0 = "{0} [Line {1} : Pos {2}]" |
String | message |
This event if fired when the WAIT(timeout) operator has been executed, if timeout != 0 then a resume event will be fired when the script is restarted. . It is not fired when the script is paused by the user using the script.waitFor(int) method.
org.qscript.events.WaitEvent.WaitEvent | ( | Script | script, |
ErrorType | etype, | ||
int | lineNo, | ||
int | pos, | ||
int | width, | ||
Object[] | extra | ||
) |
script | the source of the event |
etype | the error type (if event caused by error) |
lineNo | line number where the event was fired |
pos | the position in the source code where the token starts |
width | the width (chars) of the token |
extra | this extra object is specific to this event |
org.qscript.events.WaitEvent.WaitEvent | ( | Script | script, |
ErrorType | etype, | ||
int | lineNo, | ||
int | pos, | ||
int | width | ||
) |
script | the source of the event |
etype | the error type (if event caused by error) |
lineNo | line number where the event was fired |
pos | the position in the source code where the token starts |
width | the width (chars) of the token |