diff --git a/api/RueI.Parsing.ParserContext.html b/api/RueI.Parsing.ParserContext.html index dad25bf..11ddcd5 100644 --- a/api/RueI.Parsing.ParserContext.html +++ b/api/RueI.Parsing.ParserContext.html @@ -494,6 +494,33 @@

Type Parameters

+ + +

+ ApplyClosingTags() + +

+ +

Applies the endingTags and closing SizeTags tags to this ParserContext.

+
+
+ +
+
public void ApplyClosingTags()
+
+ + + + + + + + + + + + +

diff --git a/index.json b/index.json index f200924..240871a 100644 --- a/index.json +++ b/index.json @@ -222,7 +222,7 @@ "api/RueI.Parsing.ParserContext.html": { "href": "api/RueI.Parsing.ParserContext.html", "title": "Class ParserContext | RueI", - "keywords": "Class ParserContext Namespace RueI.Parsing Assembly RueI.dll Describes the state of a parser at a time. public class ParserContext : TextInfo, IDisposable Inheritance object TextInfo ParserContext Implements IDisposable Inherited Members TextInfo.CurrentLineHeight TextInfo.Size TextInfo.CurrentCSpace TextInfo.IsMonospace TextInfo.Monospacing TextInfo.IsBold TextInfo.Scale TextInfo.IsSuperOrSubScript TextInfo.CurrentCase object.ToString() object.Equals(object) object.Equals(object, object) object.ReferenceEquals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() Extension Methods UniversalExtensions.AddTo(T, ICollection) Remarks The ParserContext class provides a way for the general state of the parser, such as the current line width or the vertical height, to be modified by passing it along. Tags should modify this in order to change the end result of parsing. Properties ColorTags Gets or sets the number of color tags that are nested. public int ColorTags { get; set; } Property Value int CurrentLineWidth Gets or sets the current line width of the parser. public float CurrentLineWidth { get; set; } Property Value float NewOffset Gets or sets the final offset for the element as a whole. public float NewOffset { get; set; } Property Value float NoBreak Gets or sets a value indicating whether or not words are currently in no break. public bool NoBreak { get; set; } Property Value bool ResultBuilder Gets the end result string builder. public StringBuilder ResultBuilder { get; } Property Value StringBuilder ShouldParse Gets or sets a value indicating whether the parser should parse tags other than noparse. public bool ShouldParse { get; set; } Property Value bool SizeTags Gets a stack containing all of the nested sizes. public Stack SizeTags { get; } Property Value Stack WidthSinceSpace Gets or sets the total width since a space. public float WidthSinceSpace { get; set; } Property Value float Methods AddEndingTag() Adds a RichTextTag to a list of tags that will be added to the end of the parser's result. public void AddEndingTag() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be added as an ending tag (as a SharedTag). Dispose() Disposes this ParserContext, returning the string builder to the pool. public void Dispose() RemoveEndingTag() Removes a RichTextTag from the list list of tags that will be added to the end of the parser's result. public void RemoveEndingTag() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be removed from the ending tags (as a SharedTag)." + "keywords": "Class ParserContext Namespace RueI.Parsing Assembly RueI.dll Describes the state of a parser at a time. public class ParserContext : TextInfo, IDisposable Inheritance object TextInfo ParserContext Implements IDisposable Inherited Members TextInfo.CurrentLineHeight TextInfo.Size TextInfo.CurrentCSpace TextInfo.IsMonospace TextInfo.Monospacing TextInfo.IsBold TextInfo.Scale TextInfo.IsSuperOrSubScript TextInfo.CurrentCase object.ToString() object.Equals(object) object.Equals(object, object) object.ReferenceEquals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() Extension Methods UniversalExtensions.AddTo(T, ICollection) Remarks The ParserContext class provides a way for the general state of the parser, such as the current line width or the vertical height, to be modified by passing it along. Tags should modify this in order to change the end result of parsing. Properties ColorTags Gets or sets the number of color tags that are nested. public int ColorTags { get; set; } Property Value int CurrentLineWidth Gets or sets the current line width of the parser. public float CurrentLineWidth { get; set; } Property Value float NewOffset Gets or sets the final offset for the element as a whole. public float NewOffset { get; set; } Property Value float NoBreak Gets or sets a value indicating whether or not words are currently in no break. public bool NoBreak { get; set; } Property Value bool ResultBuilder Gets the end result string builder. public StringBuilder ResultBuilder { get; } Property Value StringBuilder ShouldParse Gets or sets a value indicating whether the parser should parse tags other than noparse. public bool ShouldParse { get; set; } Property Value bool SizeTags Gets a stack containing all of the nested sizes. public Stack SizeTags { get; } Property Value Stack WidthSinceSpace Gets or sets the total width since a space. public float WidthSinceSpace { get; set; } Property Value float Methods AddEndingTag() Adds a RichTextTag to a list of tags that will be added to the end of the parser's result. public void AddEndingTag() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be added as an ending tag (as a SharedTag). ApplyClosingTags() Applies the endingTags and closing SizeTags tags to this ParserContext. public void ApplyClosingTags() Dispose() Disposes this ParserContext, returning the string builder to the pool. public void Dispose() RemoveEndingTag() Removes a RichTextTag from the list list of tags that will be added to the end of the parser's result. public void RemoveEndingTag() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be removed from the ending tags (as a SharedTag)." }, "api/RueI.Parsing.RichTextTag.html": { "href": "api/RueI.Parsing.RichTextTag.html", diff --git a/xrefmap.yml b/xrefmap.yml index 9922d6d..e69889a 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -2481,6 +2481,19 @@ references: fullName.vb: RueI.Parsing.ParserContext.AddEndingTag(Of T)() nameWithType: ParserContext.AddEndingTag() nameWithType.vb: ParserContext.AddEndingTag(Of T)() +- uid: RueI.Parsing.ParserContext.ApplyClosingTags + name: ApplyClosingTags() + href: api/RueI.Parsing.ParserContext.html#RueI_Parsing_ParserContext_ApplyClosingTags + commentId: M:RueI.Parsing.ParserContext.ApplyClosingTags + fullName: RueI.Parsing.ParserContext.ApplyClosingTags() + nameWithType: ParserContext.ApplyClosingTags() +- uid: RueI.Parsing.ParserContext.ApplyClosingTags* + name: ApplyClosingTags + href: api/RueI.Parsing.ParserContext.html#RueI_Parsing_ParserContext_ApplyClosingTags_ + commentId: Overload:RueI.Parsing.ParserContext.ApplyClosingTags + isSpec: "True" + fullName: RueI.Parsing.ParserContext.ApplyClosingTags + nameWithType: ParserContext.ApplyClosingTags - uid: RueI.Parsing.ParserContext.ColorTags name: ColorTags href: api/RueI.Parsing.ParserContext.html#RueI_Parsing_ParserContext_ColorTags