Package org.sonar.python.tree
Class AssignmentStatementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.SimpleStatement
-
- org.sonar.python.tree.AssignmentStatementImpl
-
- All Implemented Interfaces:
AssignmentStatement,Statement,Tree
public class AssignmentStatementImpl extends SimpleStatement implements AssignmentStatement
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description AssignmentStatementImpl(List<Token> assignTokens, List<ExpressionList> lhsExpressions, Expression assignedValue, Separators separators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)ExpressionassignedValue()List<Tree>computeChildren()List<Token>equalTokens()Tree.KindgetKind()List<ExpressionList>lhsExpressions()Tokenseparator()-
Methods inherited from class org.sonar.python.tree.SimpleStatement
lastToken
-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, parent, setParent
-
-
-
-
Constructor Detail
-
AssignmentStatementImpl
public AssignmentStatementImpl(List<Token> assignTokens, List<ExpressionList> lhsExpressions, Expression assignedValue, Separators separators)
-
-
Method Detail
-
assignedValue
public Expression assignedValue()
- Specified by:
assignedValuein interfaceAssignmentStatement
-
equalTokens
public List<Token> equalTokens()
- Specified by:
equalTokensin interfaceAssignmentStatement
-
lhsExpressions
public List<ExpressionList> lhsExpressions()
- Specified by:
lhsExpressionsin interfaceAssignmentStatement
-
separator
@CheckForNull public Token separator()
-
accept
public void accept(TreeVisitor visitor)
-
-