QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.qscript.events.WaitEvent Class Reference

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
 

Detailed Description

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.

Author
Peter Lager

Constructor & Destructor Documentation

org.qscript.events.WaitEvent.WaitEvent ( Script  script,
ErrorType  etype,
int  lineNo,
int  pos,
int  width,
Object[]  extra 
)
Parameters
scriptthe source of the event
etypethe error type (if event caused by error)
lineNoline number where the event was fired
posthe position in the source code where the token starts
widththe width (chars) of the token
extrathis extra object is specific to this event
org.qscript.events.WaitEvent.WaitEvent ( Script  script,
ErrorType  etype,
int  lineNo,
int  pos,
int  width 
)
Parameters
scriptthe source of the event
etypethe error type (if event caused by error)
lineNoline number where the event was fired
posthe position in the source code where the token starts
widththe width (chars) of the token

The documentation for this class was generated from the following file: