C# Класс ABB.Swum.Nodes.ProgramElementNode

Represents an abstract program element.
Наследование: Node
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetParse ( ) : PhraseNode

Returns a PhraseNode containing the node's parsed name.

Parse ( IdSplitter splitter ) : void

Parses the node's Name into words.

ProgramElementNode ( ) : System

Creates a new ProgramElementNode in its default state.

ProgramElementNode ( string name ) : System

Creates a new ProgramElementNode and sets Name to the supplied value.

ProgramElementNode ( string name, IdSplitter splitter ) : System

Creates a new ProgramElementNode and sets Name to the supplied value. Name is then parsed using the supplied IdSplitter.

ProgramElementNode ( string name, PhraseNode parsedName ) : System

Creates a new ProgramElementNode and sets Name and ParsedName to the supplied values.

SetLocation ( Location location ) : void

Sets the program location of the node.

ToPlainString ( ) : string

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

ToString ( ) : string

Returns a string representation of the node. This is simply the string representation of the ParsedName.

Описание методов

GetParse() публичный Метод

Returns a PhraseNode containing the node's parsed name.
public GetParse ( ) : PhraseNode
Результат PhraseNode

Parse() публичный Метод

Parses the node's Name into words.
public Parse ( IdSplitter splitter ) : void
splitter ABB.Swum.IdSplitter
Результат void

ProgramElementNode() публичный Метод

Creates a new ProgramElementNode in its default state.
public ProgramElementNode ( ) : System
Результат System

ProgramElementNode() публичный Метод

Creates a new ProgramElementNode and sets Name to the supplied value.
public ProgramElementNode ( string name ) : System
name string The name of the program element.
Результат System

ProgramElementNode() публичный Метод

Creates a new ProgramElementNode and sets Name to the supplied value. Name is then parsed using the supplied IdSplitter.
public ProgramElementNode ( string name, IdSplitter splitter ) : System
name string The name of the program element.
splitter ABB.Swum.IdSplitter An IdSplitter to use to parse the name.
Результат System

ProgramElementNode() публичный Метод

Creates a new ProgramElementNode and sets Name and ParsedName to the supplied values.
public ProgramElementNode ( string name, PhraseNode parsedName ) : System
name string The name of the program element.
parsedName PhraseNode A PhraseNode constructed from the program element's name.
Результат System

SetLocation() публичный Метод

Sets the program location of the node.
public SetLocation ( Location location ) : void
location Location The program location of the node.
Результат void

ToPlainString() публичный Метод

Returns a string representation of the node without any SWUM markup.
public ToPlainString ( ) : string
Результат string

ToString() публичный Метод

Returns a string representation of the node. This is simply the string representation of the ParsedName.
public ToString ( ) : string
Результат string