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