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
-
-
Constructor Summary
Constructors Constructor Description StatementListImpl(com.sonar.sslr.api.AstNode astNode, List<Statement> statements, List<Token> tokens)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()Tree.KindgetKind()List<Statement>statements()List<Token>tokens()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Method Detail
-
statements
public List<Statement> statements()
- Specified by:
statementsin interfaceStatementList
-
accept
public void accept(TreeVisitor visitor)
-
tokens
public List<Token> tokens()
- Specified by:
tokensin interfaceStatementList
-
-