Package org.sonar.python.tree
Class PyFinallyClauseTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyFinallyClauseTreeImpl
-
- All Implemented Interfaces:
PyFinallyClauseTree,Tree
public class PyFinallyClauseTreeImpl extends PyTree implements PyFinallyClauseTree
-
-
Constructor Summary
Constructors Constructor Description PyFinallyClauseTreeImpl(com.sonar.sslr.api.Token finallyKeyword, PyStatementListTree body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)PyStatementListTreebody()List<Tree>children()com.sonar.sslr.api.TokenfinallyKeyword()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyFinallyClauseTreeImpl
public PyFinallyClauseTreeImpl(com.sonar.sslr.api.Token finallyKeyword, PyStatementListTree body)
-
-
Method Detail
-
finallyKeyword
public com.sonar.sslr.api.Token finallyKeyword()
- Specified by:
finallyKeywordin interfacePyFinallyClauseTree
-
body
public PyStatementListTree body()
- Specified by:
bodyin interfacePyFinallyClauseTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-