gov.llnl.babel
Class CommandLineDriver
java.lang.Object
gov.llnl.babel.CommandLineDriver
public class CommandLineDriver
extends java.lang.Object
This class is the main driver for running Babel from the command line.
CommandLineDriver(Context context, boolean multiMode) - The protected singleton constructor instantiates the options parser,
UserOptions .
|
CommandLineDriver
public CommandLineDriver(Context context,
boolean multiMode)
The protected singleton constructor instantiates the options parser,
UserOptions
.
generateCode
public int generateCode(String[] remainingArgs)
loadExtensions
public void loadExtensions(CommandLineDictionary dict)
Load and create an instance of each class in listed in the comma separated
list stored in the Java property babel.extensions
.
main
public static void main(args[] )
Main babel entry point.
printSymbolNames
public void printSymbolNames(Set symbols)
Print all symbols to output. This is obviously intended only to facilitate
debugging.
processCommandline
public String[] processCommandline(args[] )
Extract the options from the command line arguments and perform associated
set up as appropriate.
processMultiple
public int processMultiple(String[] args)