Class Flags

java.lang.Object
  extended byFlags

class Flags
extends java.lang.Object

Command line flags


Field Summary
static boolean cgen_debug
          Enable code gen debugging
static int cgen_Memmgr
          Garbage collector flag (default GC_NOGC)
static int cgen_Memmgr_Debug
          Garbage collector debugging flag (default GC_QUICK)
static int cgen_Memmgr_Test
          Garbage collector testing flag (default GC_NORMAL)
static boolean cgen_optimize
          Code optimization flag
static int GC_DEBUG
          Full GC debugging
static int GC_GENGC
          Generational garbage collection
static int GC_NOGC
          No garbage collection
static int GC_NORMAL
          Normal GC operation
static int GC_QUICK
          Quick GC debugging
static int GC_SNCGC
          Stop-and-copy garbage collection
static int GC_TEST
          Test GC operation
static java.lang.String in_filename
          First input filename
static java.lang.String out_filename
          Output filename
static boolean parser_debug
          Enable parser debugging
static boolean semant_debug
          Enable semantic analysis debugging
 
Constructor Summary
(package private) Flags()
           
 
Method Summary
static java.lang.String[] handleFlags(java.lang.String[] args)
          Processes command line flags and extracts filenames to be compiled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GC_NOGC

public static final int GC_NOGC
No garbage collection

See Also:
Constant Field Values

GC_GENGC

public static final int GC_GENGC
Generational garbage collection

See Also:
Constant Field Values

GC_SNCGC

public static final int GC_SNCGC
Stop-and-copy garbage collection

See Also:
Constant Field Values

GC_NORMAL

public static final int GC_NORMAL
Normal GC operation

See Also:
Constant Field Values

GC_TEST

public static final int GC_TEST
Test GC operation

See Also:
Constant Field Values

GC_QUICK

public static final int GC_QUICK
Quick GC debugging

See Also:
Constant Field Values

GC_DEBUG

public static final int GC_DEBUG
Full GC debugging

See Also:
Constant Field Values

cgen_Memmgr

public static int cgen_Memmgr
Garbage collector flag (default GC_NOGC)

See Also:
GC_NOGC

cgen_Memmgr_Test

public static int cgen_Memmgr_Test
Garbage collector testing flag (default GC_NORMAL)

See Also:
GC_NORMAL

cgen_Memmgr_Debug

public static int cgen_Memmgr_Debug
Garbage collector debugging flag (default GC_QUICK)

See Also:
GC_NOGC

cgen_optimize

public static boolean cgen_optimize
Code optimization flag


out_filename

public static java.lang.String out_filename
Output filename


in_filename

public static java.lang.String in_filename
First input filename


parser_debug

public static boolean parser_debug
Enable parser debugging


semant_debug

public static boolean semant_debug
Enable semantic analysis debugging


cgen_debug

public static boolean cgen_debug
Enable code gen debugging

Constructor Detail

Flags

Flags()
Method Detail

handleFlags

public static java.lang.String[] handleFlags(java.lang.String[] args)
Processes command line flags and extracts filenames to be compiled

Parameters:
args - the argument array passed to main()
Returns:
an array of filenames to be compiled