Package org.sonar.python.tree
Class ExpressionListImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.ExpressionListImpl
-
- All Implemented Interfaces:
Expression,ExpressionList,Tree
public class ExpressionListImpl extends PyTree implements ExpressionList
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description ExpressionListImpl(List<Expression> expressions, List<Token> commas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Token>commas()List<Tree>computeChildren()List<Expression>expressions()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
children, 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.plugins.python.api.tree.Expression
type
-
-
-
-
Constructor Detail
-
ExpressionListImpl
public ExpressionListImpl(List<Expression> expressions, List<Token> commas)
-
-
Method Detail
-
expressions
public List<Expression> expressions()
- Specified by:
expressionsin interfaceExpressionList
-
commas
public List<Token> commas()
- Specified by:
commasin interfaceExpressionList
-
accept
public void accept(TreeVisitor visitor)
-
-