Package org.sonar.python.tree
Class TryStatementImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.TryStatementImpl
- All Implemented Interfaces:
Statement,Tree,TryStatement
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionTryStatementImpl(Token tryKeyword, Token colon, Token newLine, Token indent, StatementList tryBody, Token dedent, List<ExceptClause> exceptClauses, FinallyClause finallyClause, ElseClause elseClause) -
Method Summary
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
Constructor Details
-
TryStatementImpl
public TryStatementImpl(Token tryKeyword, Token colon, @Nullable Token newLine, @Nullable Token indent, StatementList tryBody, @Nullable Token dedent, List<ExceptClause> exceptClauses, @Nullable FinallyClause finallyClause, @Nullable ElseClause elseClause)
-
-
Method Details
-
tryKeyword
- Specified by:
tryKeywordin interfaceTryStatement
-
exceptClauses
- Specified by:
exceptClausesin interfaceTryStatement
-
finallyClause
- Specified by:
finallyClausein interfaceTryStatement
-
elseClause
- Specified by:
elseClausein interfaceTryStatement
-
body
- Specified by:
bodyin interfaceTryStatement
-
getKind
-
accept
-
computeChildren
-