Used to preprocess the specified input stream, item or file.
Syntax
pp.preprocess( InputReader , OutputWriter )
pp.preprocess( InputReader , OutputWriter, ErrorWriter )
Parameters
InputReader
|
Reader object containing the item to preprocessed.
|
OutputWriter
|
Writer object that will contain the resultant preprocessed item.
|
ErrorWriter
|
Writer object containing the item to preprocessed.
|
Returns
Exceptions
Notes
pp
|
an instance of the pp class.
|
Statements and directives are delimited by \n.
Requires that stec.pp.pp be imported.
Example
pp.preprocess(reader, writer)
Syntax
Parameters
String
|
contains the item to preprocess.
|
Returns
String
|
contains the preprocessed item.
|
Exceptions
Notes
pp
|
an instance of the pp class.
|
Statements and directives are delimited by \n.
Required that stec.pp.pp be imported.
Example
pp.preprocess(item)
Syntax
pp.preprocess( InputFileName, OutputFileName, ErrorFileName )
Parameters
InputFileName
|
String object containing the name of the file that will be preprocessed.
|
OutputFileName
|
String object containing the name of the file that the preprocessed item will be written to.
|
ErrorFileName
|
String object containing the name of the file that errors will be written to.
|
Returns
Exceptions
Notes
pp
|
an instance of the pp class.
|
Statements and directives are delimited by \n.
Requires that stec.pp.pp be imported.
Example
pp.preprocess(inputFile, outputFile, errorFile)
|