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
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description TupleParameterImpl(Token lParenthesis, List<AnyParameter> parameters, List<Token> commas, Token rParenthesis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)TokenclosingParenthesis()List<Token>commas()List<Tree>computeChildren()Tree.KindgetKind()TokenopeningParenthesis()List<AnyParameter>parameters()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
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)
-
-