AugAssign class final

Python class definition for the Python class AugAssign. This is hand-crafted and not generated. Thus it only contains a subset of the actual class.

Inheritance
  • Object
  • PythonObjectInterface<PythonFfiDelegate<Object?>, Object?>
  • PythonObject
  • PythonClass
  • AST
  • AugAssign
Implemented types

Constructors

AugAssign()
Creates a new instance of the Python class AugAssign.
factory
AugAssign.from(PythonClassInterface<PythonFfiDelegate<Object?>, Object?> classDelegate)
Wraps a Python object with the AugAssign class definition.

Properties

allAssigns Iterable<AssignBase>
Returns all flattened children of any type of assignment.
no setterinherited
annAssigns Iterable<AnnAssign>
Returns all flattened children of type AnnAssign.
no setterinherited
assigns Iterable<Assign>
Returns all flattened children of type Assign.
no setterinherited
attributes Iterable<Attribute>
Returns all attributes of this assignment.
no setteroverride
augAssigns Iterable<AugAssign>
Returns all flattened children of type AugAssign.
no setterinherited
finalizer Finalizer<(PythonFfiDelegate<Object?>, Object?)>
The finalizer for the python object. Gets invoked when the object is no longer accessible to the program.
finalinherited
functionDefs Iterable<FunctionDef>
Returns all flattened children of type FunctionDef.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
initializer → Initializer<PythonFfiDelegate<Object?>, Object?>
The initializer for the python object. Gets invoked at the start of the constructor.
finalinherited
platform → PythonFfiDelegate<Object?>
Gets the platform that this object is associated with.
no setterinherited
reference Object?
Gets the reference to the python object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target AST
Returns the target of this assignment.
no setter

Methods

debugDump() → void
Dumps the python object to the console.
inherited
getAttribute<T extends Object?>(String attributeName) → T
Gets the attribute with the given name.
inherited
getAttributeOrNull<T extends Object?>(String attributeName) → T?
Gets the attribute with the given name or null if it does not exist.
inherited
getAttributeRaw<T extends PythonObjectInterface<PythonFfiDelegate<Object?>, Object?>>(String attributeName) → T
Gets the attribute with the given name.
inherited
getFunction(String name) → PythonFunctionInterface<PythonFfiDelegate<Object?>, Object?>
Gets the function with the given name.
inherited
getMethod(String functionName) → PythonFunctionInterface<PythonFfiDelegate<Object?>, Object?>
Gets a method from the class.
inherited
hasAttribute(String attributeName) bool
Checks if the python object has the given attribute.
inherited
noSuchMethod(Invocation invocation) Object?
Invoked when a nonexistent method or property is accessed.
inherited
setAttribute<T extends Object?>(String attributeName, T value) → void
Sets the attribute with the given name.
inherited
setAttributeRaw<T extends PythonObjectInterface<PythonFfiDelegate<Object?>, Object?>>(String attributeName, T value) → void
Sets the attribute with the given name.
inherited
toDartObject() Object?
Converts the python object to a Dart object.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited