Package org.sonar.python.tree
Class AnnotatedAssignmentImpl
java.lang.Object
org.sonar.python.tree.PyTree
org.sonar.python.tree.SimpleStatement
org.sonar.python.tree.AnnotatedAssignmentImpl
- All Implemented Interfaces:
AnnotatedAssignment,Statement,Tree
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken -
Constructor Summary
ConstructorsConstructorDescriptionAnnotatedAssignmentImpl(Expression variable, TypeAnnotation annotation, Token equalToken, Expression assignedValue, Separators separators) -
Method Summary
Methods inherited from class org.sonar.python.tree.SimpleStatement
lastTokenMethods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, parent, setParent
-
Constructor Details
-
AnnotatedAssignmentImpl
public AnnotatedAssignmentImpl(Expression variable, TypeAnnotation annotation, @Nullable Token equalToken, @Nullable Expression assignedValue, Separators separators)
-
-
Method Details
-
variable
- Specified by:
variablein interfaceAnnotatedAssignment
-
annotation
- Specified by:
annotationin interfaceAnnotatedAssignment
-
equalToken
- Specified by:
equalTokenin interfaceAnnotatedAssignment
-
assignedValue
- Specified by:
assignedValuein interfaceAnnotatedAssignment
-
separator
-
accept
-
computeChildren
-
getKind
-