Package org.sonar.python.api.tree
Interface PyTryStatementTree
-
- All Superinterfaces:
PyStatementTree,Tree
- All Known Implementing Classes:
PyTryStatementTreeImpl
public interface PyTryStatementTree extends PyStatementTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PyStatementListTreebody()PyElseStatementTreeelseClause()List<PyExceptClauseTree>exceptClauses()PyFinallyClauseTreefinallyClause()com.sonar.sslr.api.TokentryKeyword()
-
-
-
Method Detail
-
tryKeyword
com.sonar.sslr.api.Token tryKeyword()
-
exceptClauses
List<PyExceptClauseTree> exceptClauses()
-
finallyClause
@CheckForNull PyFinallyClauseTree finallyClause()
-
elseClause
@CheckForNull PyElseStatementTree elseClause()
-
body
PyStatementListTree body()
-
-