Package org.sonar.python.tree
Class PyTupleParameterTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyTupleParameterTreeImpl
-
- All Implemented Interfaces:
PyAnyParameterTree,PyTupleParameterTree,Tree
public class PyTupleParameterTreeImpl extends PyTree implements PyTupleParameterTree
-
-
Constructor Summary
Constructors Constructor Description PyTupleParameterTreeImpl(com.sonar.sslr.api.AstNode node, List<PyAnyParameterTree> parameters, List<com.sonar.sslr.api.Token> commas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)List<Tree>children()com.sonar.sslr.api.TokenclosingParenthesis()List<com.sonar.sslr.api.Token>commas()Tree.KindgetKind()com.sonar.sslr.api.TokenopeningParenthesis()List<PyAnyParameterTree>parameters()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyTupleParameterTreeImpl
public PyTupleParameterTreeImpl(com.sonar.sslr.api.AstNode node, List<PyAnyParameterTree> parameters, List<com.sonar.sslr.api.Token> commas)
-
-
Method Detail
-
openingParenthesis
public com.sonar.sslr.api.Token openingParenthesis()
- Specified by:
openingParenthesisin interfacePyTupleParameterTree
-
parameters
public List<PyAnyParameterTree> parameters()
- Specified by:
parametersin interfacePyTupleParameterTree
-
commas
public List<com.sonar.sslr.api.Token> commas()
- Specified by:
commasin interfacePyTupleParameterTree
-
closingParenthesis
public com.sonar.sslr.api.Token closingParenthesis()
- Specified by:
closingParenthesisin interfacePyTupleParameterTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-