fix bug of flagTexts disappear by Sentence property type.
This commit is contained in:
@@ -210,6 +210,37 @@ Class ProgramXyzSemantic
|
||||
|
||||
|
||||
|
||||
<a id="Hi_NcParsers_Semantics_ProgramXyzSemantic__ctor_" data-uid="Hi.NcParsers.Semantics.ProgramXyzSemantic.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_Semantics_ProgramXyzSemantic__ctor_System_Xml_Linq_XElement_" data-uid="Hi.NcParsers.Semantics.ProgramXyzSemantic.#ctor(System.Xml.Linq.XElement)">
|
||||
ProgramXyzSemantic(XElement)
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public ProgramXyzSemantic(XElement src)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h2 class="section" id="properties">Properties
|
||||
</h2>
|
||||
|
||||
@@ -221,12 +252,14 @@ Class ProgramXyzSemantic
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Available Json Path List to resolve semantic.</p>
|
||||
<div class="markdown level1 summary"><p>Available Json Path List to resolve semantic.
|
||||
Each path is a list of segments navigating nested JSON objects.
|
||||
Empty list means root level.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public List<string> AvailableJsonPathList { get; }</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public List<List<string>> AvailableJsonPathList { get; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -235,12 +268,17 @@ Class ProgramXyzSemantic
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>></dt>
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_NcParsers_Semantics_ProgramXyzSemantic_AvailableJsonPathList_examples">Examples</h4>
|
||||
<pre><code class="lang-csharp">[["L"]] → fullJsonSrc["L"]
|
||||
[[]] → fullJsonSrc (root)
|
||||
[["L"], []] → try fullJsonSrc["L"], fallback to root</code></pre>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -315,8 +353,8 @@ Class ProgramXyzSemantic
|
||||
|
||||
<a id="Hi_NcParsers_Semantics_ProgramXyzSemantic_Build_" data-uid="Hi.NcParsers.Semantics.ProgramXyzSemantic.Build*"></a>
|
||||
|
||||
<h3 id="Hi_NcParsers_Semantics_ProgramXyzSemantic_Build_System_Collections_Generic_LinkedListNode_Hi_NcParsers_Semantics_SemanticPiece__" data-uid="Hi.NcParsers.Semantics.ProgramXyzSemantic.Build(System.Collections.Generic.LinkedListNode{Hi.NcParsers.Semantics.SemanticPiece})">
|
||||
Build(LinkedListNode<SemanticPiece>)
|
||||
<h3 id="Hi_NcParsers_Semantics_ProgramXyzSemantic_Build_Hi_Common_Collections_LazyLinkedListNode_Hi_NcParsers_Semantics_SemanticPiece__" data-uid="Hi.NcParsers.Semantics.ProgramXyzSemantic.Build(Hi.Common.Collections.LazyLinkedListNode{Hi.NcParsers.Semantics.SemanticPiece})">
|
||||
Build(LazyLinkedListNode<SemanticPiece>)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -325,12 +363,12 @@ Class ProgramXyzSemantic
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public void Build(LinkedListNode<SemanticPiece> semanticPieceNode)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public void Build(LazyLinkedListNode<SemanticPiece> semanticPieceNode)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>semanticPieceNode</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlistnode-1">LinkedListNode</a><<a class="xref" href="Hi.NcParsers.Semantics.SemanticPiece.html">SemanticPiece</a>></dt>
|
||||
<dt><code>semanticPieceNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a><<a class="xref" href="Hi.NcParsers.Semantics.SemanticPiece.html">SemanticPiece</a>></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
@@ -341,7 +379,7 @@ Class ProgramXyzSemantic
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_NcParsers_Semantics_ProgramXyzSemantic_Build_System_Collections_Generic_LinkedListNode_Hi_NcParsers_Semantics_SemanticPiece___remarks">Remarks</h4>
|
||||
<h4 class="section" id="Hi_NcParsers_Semantics_ProgramXyzSemantic_Build_Hi_Common_Collections_LazyLinkedListNode_Hi_NcParsers_Semantics_SemanticPiece___remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>Since the building process may require the information of the related node, a whole node is passed in.</p>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user