Package gnu.expr
Class ApplicationMainSupport
- java.lang.Object
-
- gnu.expr.ApplicationMainSupport
-
public class ApplicationMainSupport extends java.lang.ObjectRun-time support for "main" method, inclding command-line arguments.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]commandLineArgArraystatic FVectorcommandLineArgumentsstatic ThreadLocation<java.lang.String>commandNamestatic booleanprocessCommandLinePropertyAssignments
-
Constructor Summary
Constructors Constructor Description ApplicationMainSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidprocessArgs(java.lang.String[] args)This is invoked by main when ModuleBody is compiled with --main.static voidprocessSetProperties()static booleanprocessSetProperty(java.lang.String arg)static voidsetArgs(java.lang.String[] args, int arg_start)static voidsetArgs(java.lang.String[] args, int arg_start, int nargs)
-
-
-
Field Detail
-
processCommandLinePropertyAssignments
public static boolean processCommandLinePropertyAssignments
-
commandLineArgArray
public static java.lang.String[] commandLineArgArray
-
commandLineArguments
public static FVector commandLineArguments
-
commandName
public static ThreadLocation<java.lang.String> commandName
-
-
Method Detail
-
processSetProperties
public static void processSetProperties()
-
processArgs
public static void processArgs(java.lang.String[] args)
This is invoked by main when ModuleBody is compiled with --main.
-
setArgs
public static void setArgs(java.lang.String[] args, int arg_start)
-
setArgs
public static void setArgs(java.lang.String[] args, int arg_start, int nargs)
-
processSetProperty
public static boolean processSetProperty(java.lang.String arg)
-
-