public abstract class ASTNode extends AbstractUnit
Modifier and Type | Field and Description |
---|---|
static String |
NEWLINE |
protected List<Object> |
subBodies |
static String |
TAB |
boxesPointingToThis
col, line, mTagList
Constructor and Description |
---|
ASTNode() |
Modifier and Type | Method and Description |
---|---|
void |
apply(Analysis a) |
protected String |
body_toString(List<Object> body) |
protected void |
body_toString(UnitPrinter up,
List<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.
|
List<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, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public static final String TAB
public static final String NEWLINE
public abstract void toString(UnitPrinter up)
protected void body_toString(UnitPrinter up, List<Object> body)
public abstract void perform_Analysis(ASTAnalysis a)
protected void perform_AnalysisOnSubBodies(ASTAnalysis a)
public boolean fallsThrough()
Unit
public boolean branches()
Unit
public void apply(Analysis a)
Copyright © 2020 Sable. All rights reserved.