com.sonar.sslr.api.flow
Class Branch
java.lang.Object
com.sonar.sslr.api.flow.Branch
public class Branch
- extends Object
Branch
public Branch(Branch parent)
Branch
public Branch()
setConditionalStatement
public final void setConditionalStatement(CobolStmt stmt)
setCondition
public final void setCondition(@Nullable
AstNode condition)
getConditionalStatement
public final CobolStmt getConditionalStatement()
getParent
public final Branch getParent()
getCondition
@Nullable
public final AstNode getCondition()
getDepth
public final int getDepth()
toString
public String toString()
- Overrides:
toString in class Object
getDepthDetail
public String getDepthDetail()
isParentOf
public boolean isParentOf(Branch branch)
isParentOrChildOf
public boolean isParentOrChildOf(Branch branch)
Copyright © 2009-2014 SonarSource. All Rights Reserved.