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

Represents an abstract program element.
상속: Node
파일 보기 프로젝트 열기: abb-iss/Swum.NET 1 사용 예제들

공개 메소드들

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