Package org.sonar.python.tree
Class FinallyClauseImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.FinallyClauseImpl
-
- All Implemented Interfaces:
FinallyClause,Tree
public class FinallyClauseImpl extends PyTree implements FinallyClause
-
-
Constructor Summary
Constructors Constructor Description FinallyClauseImpl(Token finallyKeyword, StatementList body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)StatementListbody()List<Tree>children()TokenfinallyKeyword()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
FinallyClauseImpl
public FinallyClauseImpl(Token finallyKeyword, StatementList body)
-
-
Method Detail
-
finallyKeyword
public Token finallyKeyword()
- Specified by:
finallyKeywordin interfaceFinallyClause
-
body
public StatementList body()
- Specified by:
bodyin interfaceFinallyClause
-
accept
public void accept(TreeVisitor visitor)
-
-