Package org.sonar.python.tree
Class PyStatementListTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyStatementListTreeImpl
-
- All Implemented Interfaces:
PyStatementListTree,Tree
public class PyStatementListTreeImpl extends PyTree implements PyStatementListTree
-
-
Constructor Summary
Constructors Constructor Description PyStatementListTreeImpl(com.sonar.sslr.api.AstNode astNode, List<PyStatementTree> statements, List<com.sonar.sslr.api.Token> tokens)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()Tree.KindgetKind()List<PyStatementTree>statements()List<com.sonar.sslr.api.Token>tokens()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyStatementListTreeImpl
public PyStatementListTreeImpl(com.sonar.sslr.api.AstNode astNode, List<PyStatementTree> statements, List<com.sonar.sslr.api.Token> tokens)
-
-
Method Detail
-
statements
public List<PyStatementTree> statements()
- Specified by:
statementsin interfacePyStatementListTree
-
accept
public void accept(PyTreeVisitor visitor)
-
tokens
public List<com.sonar.sslr.api.Token> tokens()
- Specified by:
tokensin interfacePyStatementListTree
-
-