C# Class ABB.Swum.Nodes.EquivalenceNode

A node representing a set of equivalent nodes.
Inheritance: Node
ファイルを表示 Open project: abb-iss/Swum.NET Class Usage Examples

Public Methods

Method Description
AddEquivalentNode ( Node n ) : void

Adds a node to the list of equivalent nodes.

EquivalenceNode ( Node n ) : System

Creates a new EquivalenceNode.

GetParse ( ) : PhraseNode

Returns a PhraseNode containing the parsed name of the first node in EquivalentNodes. If this does not exist, the method returns an empty PhraseNode.

ToPlainString ( ) : string

Returns a string representation of the node without any SWUM markup.

ToString ( ) : string

Converts the EquivalenceNode to a string representation, comprising "EQUIV" and a string representation of the equivalent nodes.

Method Details

AddEquivalentNode() public method

Adds a node to the list of equivalent nodes.
public AddEquivalentNode ( Node n ) : void
n Node The node to add.
return void

EquivalenceNode() public method

Creates a new EquivalenceNode.
public EquivalenceNode ( Node n ) : System
n Node The initial node to add to the list of equivalent nodes.
return System

GetParse() public method

Returns a PhraseNode containing the parsed name of the first node in EquivalentNodes. If this does not exist, the method returns an empty PhraseNode.
public GetParse ( ) : PhraseNode
return PhraseNode

ToPlainString() public method

Returns a string representation of the node without any SWUM markup.
public ToPlainString ( ) : string
return string

ToString() public method

Converts the EquivalenceNode to a string representation, comprising "EQUIV" and a string representation of the equivalent nodes.
public ToString ( ) : string
return string