| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.CommandLineDriver
public class CommandLineDriver
This class is the main driver for running Babel from the command line.
| Constructor Summary | |
|---|---|
| CommandLineDriver(Context context,
                  boolean multiMode)The protected singleton constructor instantiates the options parser, UserOptions. | |
| Method Summary | |
|---|---|
|  int | generateCode(java.lang.String[] remainingArgs) | 
|  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. | 
| static void | main(java.lang.String[] args)Main babel entry point. | 
|  void | printSymbolNames(java.util.Set symbols)Print all symbols to output. | 
|  java.lang.String[] | processCommandline(java.lang.String[] args)Extract the options from the command line arguments and perform associated set up as appropriate. | 
|  int | processMultiple(java.lang.String[] args) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CommandLineDriver(Context context,
                         boolean multiMode)
UserOptions.
UserOptions| Method Detail | 
|---|
public java.lang.String[] processCommandline(java.lang.String[] args)
BabelConfigurationpublic int generateCode(java.lang.String[] remainingArgs)
public void printSymbolNames(java.util.Set symbols)
public int processMultiple(java.lang.String[] args)
public void loadExtensions(CommandLineDictionary dict)
babel.extensions.
public static void main(java.lang.String[] args)
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||