C# 클래스 ABB.Swum.Nodes.EquivalenceNode

A node representing a set of equivalent nodes.
상속: Node
파일 보기 프로젝트 열기: abb-iss/Swum.NET 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddEquivalentNode() 공개 메소드

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

EquivalenceNode() 공개 메소드

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

GetParse() 공개 메소드

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
리턴 PhraseNode

ToPlainString() 공개 메소드

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

ToString() 공개 메소드

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