Package org.sonar.python.tree
Class ParameterListImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.ParameterListImpl
-
- All Implemented Interfaces:
ParameterList,Tree
public class ParameterListImpl extends PyTree implements ParameterList
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description ParameterListImpl(List<AnyParameter> parameters, List<Token> commas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<AnyParameter>all()List<Tree>computeChildren()Tree.KindgetKind()List<Parameter>nonTuple()Note that tuple in parameters are allowed only in Python 2.-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
ParameterListImpl
public ParameterListImpl(List<AnyParameter> parameters, List<Token> commas)
-
-
Method Detail
-
nonTuple
public List<Parameter> nonTuple()
Description copied from interface:ParameterListNote that tuple in parameters are allowed only in Python 2.- Specified by:
nonTuplein interfaceParameterList
-
all
public List<AnyParameter> all()
- Specified by:
allin interfaceParameterList
-
accept
public void accept(TreeVisitor visitor)
-
-