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

Represents a node that is passed as an argument to a method.
상속: Node
파일 보기 프로젝트 열기: abb-iss/Swum.NET 1 사용 예제들

공개 메소드들

메소드 설명
ArgumentNode ( Node argument, WordNode preposition ) : System

Creates a new ArgumentNode.

GetParse ( ) : PhraseNode

Returns a PhraseNode containing the node's parsed name.

ToPlainString ( ) : string

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

ToString ( ) : string

Converts the ArgumentNode to a string representation, containing the preposition and a string representation of the argument.

메소드 상세

ArgumentNode() 공개 메소드

Creates a new ArgumentNode.
public ArgumentNode ( Node argument, WordNode preposition ) : System
argument Node The node being passed as an argument.
preposition WordNode A prepostion describing the argument's relationship to its method.
리턴 System

GetParse() 공개 메소드

Returns a PhraseNode containing the node's parsed name.
public GetParse ( ) : PhraseNode
리턴 PhraseNode

ToPlainString() 공개 메소드

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

ToString() 공개 메소드

Converts the ArgumentNode to a string representation, containing the preposition and a string representation of the argument.
public ToString ( ) : string
리턴 string