| Index: pkg/analyzer/lib/src/generated/html.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/html.dart b/pkg/analyzer/lib/src/generated/html.dart
|
| index 77775989029e8f68672acd020efab3cc4cf7ece3..2b26d5b28fbb7df3d2f8cfef0a3a2795a34e3dad 100644
|
| --- a/pkg/analyzer/lib/src/generated/html.dart
|
| +++ b/pkg/analyzer/lib/src/generated/html.dart
|
| @@ -1253,6 +1253,22 @@ class XmlAttributeNode extends XmlNode {
|
| }
|
|
|
| /**
|
| + * Answer the offset of the value after the leading quote.
|
| + *
|
| + * @return the offset of the value, or `-1` if the value is not specified
|
| + */
|
| + int get textOffset {
|
| + if (_value == null) {
|
| + return -1;
|
| + }
|
| + String text = _value.lexeme;
|
| + if (StringUtilities.startsWithChar(text, 0x22) || StringUtilities.startsWithChar(text, 0x27)) {
|
| + return _value.offset + 1;
|
| + }
|
| + return _value.offset;
|
| + }
|
| +
|
| + /**
|
| * Answer the attribute value token. A properly formed value will start and end with matching
|
| * quote characters, but the value returned may not be properly formed.
|
| *
|
|
|