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
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description FinallyClauseImpl(Token finallyKeyword, Token colon, Token newLine, Token indent, StatementList body, Token dedent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)StatementListbody()List<Tree>computeChildren()TokenfinallyKeyword()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
finallyKeyword
public Token finallyKeyword()
- Specified by:
finallyKeywordin interfaceFinallyClause
-
body
public StatementList body()
- Specified by:
bodyin interfaceFinallyClause
-
accept
public void accept(TreeVisitor visitor)
-
-