public class RunMode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
back
Run the back end.
|
boolean |
callgraph
The front end should run the call graph generator.
|
boolean |
front
Run the front end.
|
boolean |
middle
Run the middle.
|
boolean |
preproc
The front end should run the preprocessor.
|
boolean |
schema
The front end should run the schema-related components.
|
Constructor and Description |
---|
RunMode(boolean front,
boolean preproc,
boolean schema,
boolean callgraph,
boolean middle,
boolean back)
Builds an instance and initializes all data.
|
Modifier and Type | Method and Description |
---|---|
RunMode |
merge(RunMode run)
Logically OR the given mode flags with the current mode flags and
return an instance that has all flags active that are active in
either of the 2 original input modes.
|
public boolean front
public boolean schema
public boolean callgraph
public boolean preproc
public boolean middle
public boolean back
public RunMode(boolean front, boolean preproc, boolean schema, boolean callgraph, boolean middle, boolean back)
front
- Run the front end.preproc
- Front end should include preprocessor execution.schema
- Front end should include schema processing.callgraph
- Front end should include callgraph processing.middle
- Run the middle.back
- Run the back end.public RunMode merge(RunMode run)
run
- The mode to logically OR with this instance's data.