Package org.sonar.python.tree
Class UnpackingExpressionImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.UnpackingExpressionImpl
-
- All Implemented Interfaces:
Argument,DictionaryLiteralElement,Expression,Tree,UnpackingExpression
public class UnpackingExpressionImpl extends PyTree implements UnpackingExpression
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description UnpackingExpressionImpl(Token starToken, Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>computeChildren()Expressionexpression()Tree.KindgetKind()TokenstarToken()Can be either*or**-
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
-
UnpackingExpressionImpl
public UnpackingExpressionImpl(Token starToken, Expression expression)
-
-
Method Detail
-
starToken
public Token starToken()
Description copied from interface:UnpackingExpressionCan be either*or**- Specified by:
starTokenin interfaceUnpackingExpression
-
expression
public Expression expression()
- Specified by:
expressionin interfaceUnpackingExpression
-
accept
public void accept(TreeVisitor visitor)
-
-