Package org.sonar.python.tree
Class CompoundAssignmentStatementImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.CompoundAssignmentStatementImpl
-
- All Implemented Interfaces:
CompoundAssignmentStatement,Statement,Tree
public class CompoundAssignmentStatementImpl extends PyTree implements CompoundAssignmentStatement
-
-
Constructor Summary
Constructors Constructor Description CompoundAssignmentStatementImpl(com.sonar.sslr.api.AstNode astNode, Expression lhsExpression, Token augAssignToken, Expression rhsExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)List<Tree>children()TokencompoundAssignmentToken()Tree.KindgetKind()ExpressionlhsExpression()ExpressionrhsExpression()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, 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.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
CompoundAssignmentStatementImpl
public CompoundAssignmentStatementImpl(com.sonar.sslr.api.AstNode astNode, Expression lhsExpression, Token augAssignToken, Expression rhsExpression)
-
-
Method Detail
-
rhsExpression
public Expression rhsExpression()
- Specified by:
rhsExpressionin interfaceCompoundAssignmentStatement
-
compoundAssignmentToken
public Token compoundAssignmentToken()
- Specified by:
compoundAssignmentTokenin interfaceCompoundAssignmentStatement
-
lhsExpression
public Expression lhsExpression()
- Specified by:
lhsExpressionin interfaceCompoundAssignmentStatement
-
accept
public void accept(TreeVisitor visitor)
-
-