Table of Contents

Class ProgramXyzSemantic

Namespace
Hi.NcParsers.Semantics
Assembly
HiMech.dll
public class ProgramXyzSemantic : INcSemantic, IToXElement
Inheritance
ProgramXyzSemantic
Implements
Inherited Members
Extension Methods

Constructors

ProgramXyzSemantic()

public ProgramXyzSemantic()

ProgramXyzSemantic(XElement)

public ProgramXyzSemantic(XElement src)

Parameters

src XElement

Properties

AvailableJsonPathList

Available Json Path List to resolve semantic. Each path is a list of segments navigating nested JSON objects. Empty list means root level.

public List<List<string>> AvailableJsonPathList { get; }

Property Value

List<List<string>>

Examples

[["L"]]       → fullJsonSrc["L"]
[[]]          → fullJsonSrc (root)
[["L"], []]   → try fullJsonSrc["L"], fallback to root

DisplayName

The builder process name shown on UI.

public string DisplayName { get; }

Property Value

string

XName

public static string XName { get; }

Property Value

string

Methods

Build(LazyLinkedListNode<SemanticPiece>)

Refine SemanticPiece.ClaimList of the node.

public void Build(LazyLinkedListNode<SemanticPiece> semanticPieceNode)

Parameters

semanticPieceNode LazyLinkedListNode<SemanticPiece>

Remarks

Since the building process may require the information of the related node, a whole node is passed in.

ToXElement()

Get the XElement to represent the object.

public XElement ToXElement()

Returns

XElement

XElement to represent the object.