com.sonar.sslr.api.flow
Class Branch
java.lang.Object
com.sonar.sslr.api.flow.Branch
public class Branch
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Branch
public Branch(Branch parent)
Branch
public Branch()
setConditionalStatement
public final void setConditionalStatement(Statement stmt)
setCondition
public final void setCondition(AstNode condition)
getConditionalStatement
public final Statement getConditionalStatement()
getParent
public final Branch getParent()
getCondition
public final AstNode getCondition()
getDepth
public final int getDepth()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDepthDetail
public java.lang.String getDepthDetail()
isParentOf
public boolean isParentOf(Branch branch)
isParentOrChildOf
public boolean isParentOrChildOf(Branch branch)
Copyright © 2012 SonarSource. All Rights Reserved.