File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -4518,7 +4518,15 @@ class EmptyStatement extends Statement {
4518
4518
class AssertStatement extends Statement {
4519
4519
Expression condition;
4520
4520
Expression message; // May be null.
4521
+
4522
+ /// Character offset in the source where the assertion condition begins.
4523
+ ///
4524
+ /// Note: This is not the offset into the UTF8 encoded `List<int>` source.
4521
4525
int conditionStartOffset;
4526
+
4527
+ /// Character offset in the source where the assertion condition ends.
4528
+ ///
4529
+ /// Note: This is not the offset into the UTF8 encoded `List<int>` source.
4522
4530
int conditionEndOffset;
4523
4531
4524
4532
AssertStatement (this .condition,
@@ -7051,6 +7059,7 @@ class _ChildReplacer extends Transformer {
7051
7059
class Source {
7052
7060
final List <int > lineStarts;
7053
7061
7062
+ /// A UTF8 encoding of the original source file.
7054
7063
final List <int > source;
7055
7064
7056
7065
final Uri importUri;
You can’t perform that action at this time.
0 commit comments