public abstract class ASTNode extends AbstractUnit
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NEWLINE |
protected java.util.List<java.lang.Object> |
subBodies |
static java.lang.String |
TAB |
col, line, mTagList| Constructor and Description |
|---|
ASTNode() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Analysis a) |
protected java.lang.String |
body_toString(java.util.List<java.lang.Object> body) |
protected void |
body_toString(UnitPrinter up,
java.util.List<java.lang.Object> body) |
boolean |
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.
|
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement.
|
java.util.List<java.lang.Object> |
get_SubBodies() |
abstract void |
perform_Analysis(ASTAnalysis a) |
protected void |
perform_AnalysisOnSubBodies(ASTAnalysis a) |
abstract void |
toString(UnitPrinter up) |
addBoxPointingToThis, apply, clearUnitBoxes, clone, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic static final java.lang.String TAB
public static final java.lang.String NEWLINE
protected java.util.List<java.lang.Object> subBodies
public abstract void toString(UnitPrinter up)
protected void body_toString(UnitPrinter up, java.util.List<java.lang.Object> body)
protected java.lang.String body_toString(java.util.List<java.lang.Object> body)
public java.util.List<java.lang.Object> get_SubBodies()
public abstract void perform_Analysis(ASTAnalysis a)
protected void perform_AnalysisOnSubBodies(ASTAnalysis a)
public boolean fallsThrough()
Unitpublic boolean branches()
Unitpublic void apply(Analysis a)