Package org.sonar.python.tree
Class TupleParameterImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.TupleParameterImpl
-
- All Implemented Interfaces:
AnyParameter,Tree,TupleParameter
public class TupleParameterImpl extends PyTree implements TupleParameter
-
-
Constructor Summary
Constructors Constructor Description TupleParameterImpl(com.sonar.sslr.api.AstNode node, List<AnyParameter> parameters, List<Token> commas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()TokenclosingParenthesis()List<Token>commas()Tree.KindgetKind()TokenopeningParenthesis()List<AnyParameter>parameters()-
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
-
-
-
-
Constructor Detail
-
TupleParameterImpl
public TupleParameterImpl(com.sonar.sslr.api.AstNode node, List<AnyParameter> parameters, List<Token> commas)
-
-
Method Detail
-
openingParenthesis
public Token openingParenthesis()
- Specified by:
openingParenthesisin interfaceTupleParameter
-
parameters
public List<AnyParameter> parameters()
- Specified by:
parametersin interfaceTupleParameter
-
commas
public List<Token> commas()
- Specified by:
commasin interfaceTupleParameter
-
closingParenthesis
public Token closingParenthesis()
- Specified by:
closingParenthesisin interfaceTupleParameter
-
accept
public void accept(TreeVisitor visitor)
-
-