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.Attribute value must be specified.
  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  Attribute has a default value. y
  Use one of the following values. 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  
  Use one of the following values. 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  Attribute has a default value. 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
Returns a value
jobEntry
Returns a value 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.Argument must be specified. 
task
Used for managing tasks that define forced parsing. Examines or modifies the state of a task.
name Argument may stayunnamed in argument list.Argument must be specified. 
set Argument has a default value. on 
Use one of the following values. on off
tinSlot
Selects a slot of a tin.
name Argument may stayunnamed in argument list.Argument must be specified. 
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.Argument must be specified. 
Name of the tin.
Returns a value
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 Argument has a default value.
Use one of the following values. 1 y withCode n 0
task  
withCode Argument has a default value.
outFile File  
Output file object.
Returns a value TokList