Package org.sonar.python.tree
Class StatementListImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.StatementListImpl
-
- All Implemented Interfaces:
StatementList,Tree
public class StatementListImpl extends PyTree implements StatementList
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description StatementListImpl(List<Statement> statements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>computeChildren()Tree.KindgetKind()List<Statement>statements()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
statements
public List<Statement> statements()
- Specified by:
statementsin interfaceStatementList
-
accept
public void accept(TreeVisitor visitor)
-
-