| Index: lib/src/chunk.dart
|
| diff --git a/lib/src/chunk.dart b/lib/src/chunk.dart
|
| index c82db450ad78590978b92ec7775beb57e66cd8ed..d6f94651ff5655dc66eda41b4dce4d9e55b75e88 100644
|
| --- a/lib/src/chunk.dart
|
| +++ b/lib/src/chunk.dart
|
| @@ -335,7 +335,7 @@ class SourceComment extends Selection {
|
| /// and the beginning of this one.
|
| ///
|
| /// Will be zero if the comment is a trailing one.
|
| - final int linesBefore;
|
| + int linesBefore;
|
|
|
| /// Whether this comment is a line comment.
|
| final bool isLineComment;
|
| @@ -347,6 +347,9 @@ class SourceComment extends Selection {
|
| /// re-indented.
|
| final bool isStartOfLine;
|
|
|
| + /// Whether this comment is an inline block comment.
|
| + bool get isInline => linesBefore == 0 && !isLineComment;
|
| +
|
| SourceComment(this.text, this.linesBefore,
|
| {this.isLineComment, this.isStartOfLine});
|
| }
|
|
|