Icarus Class: Job
Describes a parsing job. Combines information about the syntax, the icarus program used for parsing, the token lists and status information about the input being parsed.
prod List Attribute may stay unnamed in attribute list.
  Associative list with the productions.
skip  
  The set of characters to be skipped as white space.
comment  
  Regular expression for skipping comments.
str  
  Optional input string.
fileName  
  Name of the file with the input to be parsed.
file File  
  File to parse, must be opened for read access.
abortOnError   y
  y n
  Whether parsing should abort on error or not. How parsing is continued is undefined at the moment
lineN  
  No of current line in file input.
noDoubleBckSlh  
  y n
  Whether backslashes need to be escaped in regular expressions
logFileName  
  Name of the log file. The file gets open by icarus when the job is created. It remains open until the job is deleted.
logLevel   0
  Logging level.
See arguments of LogLevel function
 
Implicit Methods
on creation: initializes the syntax.
on deletion: deletes the job.
hasInput
Returns TRUE if the input file of the job is not finished
jobEntry
JobEntry
reset
Resets all token tables of the previous parsing job, if any, and resets the parser to start a new one.
setFile
Sets specified file as input. If job is already associated with a file, it will be deleted and the job reset.
name Argument may stayunnamed in argument list. 
task
Used for managing tasks that define forced parsing. Examines or modifies the state of a task.
name Argument may stayunnamed in argument list. 
set on 
on off
tinSlot
Selects a slot of a tin.
name Argument may stayunnamed in argument list. 
Name of the tin.
n  
tinSlotN
Returns the number of slots of the tin. This evaluates the tin.
name Argument may stayunnamed in argument list. 
Name of the tin.
tokens
Requests a token table from the parser which may invoke 'lazy parsing' and optionally prints all its tokens.
name Argument may stayunnamed in argument list. 
Name of the token list.
code  
n  
print 0 
1 y withCode n 0
task  
withCode 1 
outFile File  
Output file object.
TokList