Skip to content

Commit

Permalink
deploy: 3f5da4c
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruemena committed Nov 22, 2023
1 parent fe28aa1 commit 2eed0c3
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
27 changes: 27 additions & 0 deletions api/RueI.Parsing.ParserContext.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,33 @@ <h4 class="section">Type Parameters</h4>



<a id="RueI_Parsing_ParserContext_ApplyClosingTags_" data-uid="RueI.Parsing.ParserContext.ApplyClosingTags*"></a>

<h3 id="RueI_Parsing_ParserContext_ApplyClosingTags" data-uid="RueI.Parsing.ParserContext.ApplyClosingTags">
ApplyClosingTags()
<a class="header-action link-secondary" title="View source" href="https://github.com/Ruemena/RueI/blob/master/RueI/RueI/Parsing/ParserContext.cs/#L86"><i class="bi bi-code-slash"></i></a>
</h3>

<div class="markdown level1 summary"><p>Applies the <a class="xref" href="RueI.Parsing.ParserContext.html#RueI_Parsing_ParserContext_endingTags">endingTags</a> and closing <a class="xref" href="RueI.Parsing.ParserContext.html#RueI_Parsing_ParserContext_SizeTags">SizeTags</a> tags to this <a class="xref" href="RueI.Parsing.ParserContext.html">ParserContext</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>

<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void ApplyClosingTags()</code></pre>
</div>













<a id="RueI_Parsing_ParserContext_Dispose_" data-uid="RueI.Parsing.ParserContext.Dispose*"></a>

<h3 id="RueI_Parsing_ParserContext_Dispose" data-uid="RueI.Parsing.ParserContext.Dispose">
Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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>(T, ICollection<T>) 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<float> SizeTags { get; } Property Value Stack<float> WidthSinceSpace Gets or sets the total width since a space. public float WidthSinceSpace { get; set; } Property Value float Methods AddEndingTag<T>() Adds a RichTextTag to a list of tags that will be added to the end of the parser's result. public void AddEndingTag<T>() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be added as an ending tag (as a SharedTag<T>). Dispose() Disposes this ParserContext, returning the string builder to the pool. public void Dispose() RemoveEndingTag<T>() Removes a RichTextTag from the list list of tags that will be added to the end of the parser's result. public void RemoveEndingTag<T>() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be removed from the ending tags (as a SharedTag<T>)."
"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>(T, ICollection<T>) 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<float> SizeTags { get; } Property Value Stack<float> WidthSinceSpace Gets or sets the total width since a space. public float WidthSinceSpace { get; set; } Property Value float Methods AddEndingTag<T>() Adds a RichTextTag to a list of tags that will be added to the end of the parser's result. public void AddEndingTag<T>() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be added as an ending tag (as a SharedTag<T>). 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<T>() Removes a RichTextTag from the list list of tags that will be added to the end of the parser's result. public void RemoveEndingTag<T>() where T : NoParamsTag, new() Type Parameters T The type of the RichTextTag to be removed from the ending tags (as a SharedTag<T>)."
},
"api/RueI.Parsing.RichTextTag.html": {
"href": "api/RueI.Parsing.RichTextTag.html",
Expand Down
13 changes: 13 additions & 0 deletions xrefmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2481,6 +2481,19 @@ references:
fullName.vb: RueI.Parsing.ParserContext.AddEndingTag(Of T)()
nameWithType: ParserContext.AddEndingTag<T>()
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
Expand Down

0 comments on commit 2eed0c3

Please sign in to comment.