C# Class ABB.Swum.Nodes.ArgumentNode

Represents a node that is passed as an argument to a method.
Inheritance: Node
Show file Open project: abb-iss/Swum.NET Class Usage Examples

Public Methods

Method Description
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.

Method Details

ArgumentNode() public method

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.
return System

GetParse() public method

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

ToPlainString() public method

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

ToString() public method

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