C# Class ABB.Swum.Nodes.ArgumentNode

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

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

GetParse() public méthode

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

ToPlainString() public méthode

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

ToString() public méthode

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