| java.lang.Object xtc.util.Tool xtc.xform.Driver
Driver | public class Driver extends Tool (Code) | | The driver for parsing and printing XForm.
author: Joe Pamer author: Laune Harris author: Robert Grimm version: $Revision: 1.33 $ |
init | public void init()(Code) | | Initialize this driver. This method declares this drivers's
command line options. The following options are available:
- a boolean option
optionC for parsing
with XTC's CParser,
- a boolean option
optionJava for parsing
with XTC's JavaParser,
- a word option
parser specifying an
arbitrary parser,
- a word option
unit specifiying the
program unit,
- a boolean option
printC for printing post-query
source with XTC's CPrinter,
- a boolean option
printJava for printing post-query
source with XTC's JavaPrinter,
- a boolean option
printer for specifying the printer for
post-query source,
- a boolean option
preAST for printing the
pre-query AST,
- a boolean option
postAST for printing the
post-query AST,
- a boolean option
queryAST for printing the XForm
query's AST,
- a boolean option
queryVal for printing
query's result,
- a boolean option
debug for printing stack traces on
runtime errors
|
run | public void run(String[] args)(Code) | | Run this Driver with the command line arguments
Parameters: args - The command line arguments. |
|
|