Package org.sonar.python.tree
Class PySliceListTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PySliceListTreeImpl
-
- All Implemented Interfaces:
PySliceListTree,Tree
public class PySliceListTreeImpl extends PyTree implements PySliceListTree
-
-
Constructor Summary
Constructors Constructor Description PySliceListTreeImpl(com.sonar.sslr.api.AstNode node, List<Tree> slices, List<com.sonar.sslr.api.Token> separators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()Tree.KindgetKind()List<com.sonar.sslr.api.Token>separators()List<Tree>slices()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
slices
public List<Tree> slices()
- Specified by:
slicesin interfacePySliceListTree
-
separators
public List<com.sonar.sslr.api.Token> separators()
- Specified by:
separatorsin interfacePySliceListTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-