Package org.sonar.python.tree
Class TupleImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.TupleImpl
-
- All Implemented Interfaces:
Expression,Tree,Tuple
public class TupleImpl extends PyTree implements Tuple
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Token>commas()List<Tree>computeChildren()List<Expression>elements()Tree.KindgetKind()TokenleftParenthesis()TokenrightParenthesis()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Method Detail
-
leftParenthesis
@CheckForNull public Token leftParenthesis()
- Specified by:
leftParenthesisin interfaceTuple
-
elements
public List<Expression> elements()
-
rightParenthesis
@CheckForNull public Token rightParenthesis()
- Specified by:
rightParenthesisin interfaceTuple
-
accept
public void accept(TreeVisitor visitor)
-
-