Package org.sonar.python.tree
Class GuardImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.GuardImpl
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description GuardImpl(Token ifKeyword, Expression condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)Expressioncondition()Tree.KindgetKind()TokenifKeyword()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
GuardImpl
public GuardImpl(Token ifKeyword, Expression condition)
-
-
Method Detail
-
condition
public Expression condition()
-
accept
public void accept(TreeVisitor visitor)
-
-