Add offset and end to NodeList
#60261
Labels
area-dart-model
Use area-dart-model for issues related to packages analyzer, front_end, and kernel.
NodeList
#60261
Over at https://dart-review.googlesource.com/c/sdk/+/413520/comment/107d6345_854a2009/, @bwilkerson suggested:
At that CL, I made an extension for those values. Two things to have in mind here:
offset
andend
should be nullablelength
getter which means how many items we have inside the list. We should probably think of a better name for thislength
or not implement it since it can be easily calculated with the other two values. At the CL extension, I've named itnodesLength
.The text was updated successfully, but these errors were encountered: