Package org.sonar.python.api.tree
Interface TryStatement
-
- All Known Implementing Classes:
TryStatementImpl
public interface TryStatement extends Statement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementListbody()ElseStatementelseClause()List<ExceptClause>exceptClauses()FinallyClausefinallyClause()TokentryKeyword()-
Methods inherited from interface org.sonar.python.api.tree.Tree
accept, ancestors, astNode, children, descendants, descendants, firstToken, getKind, is, lastToken, parent
-
-
-
-
Method Detail
-
tryKeyword
Token tryKeyword()
-
exceptClauses
List<ExceptClause> exceptClauses()
-
finallyClause
@CheckForNull FinallyClause finallyClause()
-
elseClause
@CheckForNull ElseStatement elseClause()
-
body
StatementList body()
-
-