Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.actions
Class CFGAction

    java.lang.Object
      avrora.actions.Action
          avrora.actions.CFGAction

public class CFGAction
extends Action

The `CFGAction` is an Avrora action that allows a control flow graph to be generated and output to the terminal or to a file.

Field Summary
`protected ControlFlowGraph` | `cfg`
`Option.Bool` | `COLLAPSE_PROCEDURES`
`Option.Bool` | `COLOR_PROCEDURES`
`Option.Str` | `FILE`
`Option.Bool` | `GROUP_PROCEDURES`
`static java.lang.String` | `HELP`
`Option.Str` | `OUTPUT`
`protected ProcedureMap` | `pmap`
`protected Program` | `program`

Fields inherited from class avrora.actions.Action
`help, options, shortName`

Constructor Summary
`CFGAction()` The default constructor of the `CFGAction` class simply creates an empty instance with the appropriate name and help string.

Method Summary
`void` | `run(java.lang.String[] args)` The `run()` method is called by the main class and is passed the remaining command line arguments after options have been stripped out.

Methods inherited from class avrora.actions.Action
`getHelp, getShortName, newOption, newOption, newOption, newOption, newOption, newOptionList`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### HELP

    public static final java.lang.String HELP

See Also:
  Constant Field Values

### COLOR_PROCEDURES

    public final Option.Bool COLOR_PROCEDURES

### GROUP_PROCEDURES

    public final Option.Bool GROUP_PROCEDURES

### COLLAPSE_PROCEDURES

    public final Option.Bool COLLAPSE_PROCEDURES

### OUTPUT

    public final Option.Str OUTPUT

### FILE

    public final Option.Str FILE

### pmap

    protected ProcedureMap pmap

### cfg

    protected ControlFlowGraph cfg

### program

    protected Program program

Constructor Detail

### CFGAction

    public CFGAction()

  The default constructor of the `CFGAction` class simply creates an empty instance with the appropriate name and help string.

Method Detail

### run

    public void run(java.lang.String[] args)
             throws java.lang.Exception

  Description copied from class: `Action`
  The `run()` method is called by the main class and is passed the remaining command line arguments after options have been stripped out.

  Specified by:
    `run` in class `Action`
  Parameters:
    `args` - the command line arguments
  Throws:
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD