C# Class ABB.Swum.Nodes.EquivalenceNode

A node representing a set of equivalent nodes.
Inheritance: Node
Afficher le fichier Open project: abb-iss/Swum.NET Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

EquivalenceNode() public méthode

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

GetParse() public méthode

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
Résultat PhraseNode

ToPlainString() public méthode

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

ToString() public méthode

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