Constructs an empty sieve script.
Returns true if this script contains no commands, and false otherwise.
Returns a string describing the location of position in the current script.
Parses script and stores the script as this object. Any previous script content is deleted. If script is has parse errors, they may be accessed as parseErrors().
Returns a (multi-line) string describing all the parse errors seen by the last call to parse(). If there are no errors, the returned string is empty. If there are any, it is a multiline string with CRLF after each line (except the last).
Returns a copy of the source code of this script.
Returns a list of top-level commands in this script. "if" and other commands may also have children.
Returns a null pointer if no script has been parsed, or a pointer to a (possiblty empty) list of commands if parse() has been called. The caller should not modify the list.
This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.