ExtractLocalVariableFeedback class

Feedback class for the EXTRACT_LOCAL_VARIABLE refactoring.

Inheritance

Constructors

ExtractLocalVariableFeedback(List<String> names, List<int> offsets, List<int> lengths, {List<int>? coveringExpressionOffsets, List<int>? coveringExpressionLengths})

Properties

coveringExpressionLengths List<int>?
The lengths of the expressions that cover the specified selection, from the down most to the up most.
final
coveringExpressionOffsets List<int>?
The offsets of the expressions that cover the specified selection, from the down most to the up most.
final
hashCode int
The hash code for this object.
no setterinherited
lengths List<int>
The lengths of the expressions that would be replaced by a reference to the variable. The lengths correspond to the offsets. In other words, for a given expression, if the offset of that expression is offsets[i], then the length of that expression is lengths[i].
final
names List<String>
The proposed names for the local variable.
final
offsets List<int>
The offsets of the expressions that would be replaced by a reference to the variable.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

parse(Map m) ExtractLocalVariableFeedback
override