public void Complete(ReadOnlyCollection<AttributeNode> attributes, ITextRange closingSequence, bool closed, bool isShorthand, bool selfClosing) { IsClosed = closed; IsShorthand = isShorthand; IsSelfClosing = selfClosing; _end = closingSequence.End; Attributes = attributes; }