Méthode | Description | |
---|---|---|
AddSecondaryArgument ( |
Creates a new ArgumentNode from the given parameters, and adds it to the SecondaryArguments list.
|
|
AddUnknownArgument ( |
Adds the given argument to the UnknownArguments list.
|
|
AddUnknownArguments ( IEnumerable |
Adds the given arguments to the UnknownArguments list.
|
|
AssignStructuralInformation ( IdSplitter splitter, Tagger tagger ) : void |
Initializes the fields containing structural information about the method. This includes the location, return type and parameters.
|
|
ClearSecondaryArguments ( ) : void |
Clears the list of SecondaryArguments.
|
|
ClearUnknownArguments ( ) : void |
Clears the list of UnknownArguments.
|
|
CreateEquivalenceFromUnknownArguments ( |
Creates a new EquivalenceNode containing the passed node and the specified nodes from the UnknownArguments list. The arguments are removed from the UnknownArguments list after being added to the EquivalenceNode.
|
|
CreateEquivalenceFromUnknownArguments ( |
Creates a new EquivalenceNode containing the passed node and the specified nodes from the UnknownArguments list. The arguments are removed from the UnknownArguments list after being added to the EquivalenceNode.
|
|
CreateThemeFromPhrases ( |
Concatenates the given phrases and assigns the result to Theme. ** Note that this will potentially modify phrase1. **
|
|
MethodDeclarationNode ( string name ) : System |
Creates a new MethodDeclarationNode with the given method name.
|
|
MethodDeclarationNode ( string name, MethodContext context ) : System |
Creates a new MethodDeclarationNode with the given method name and context.
|
|
ToString ( ) : string |
Creates a string representation of the node, which contains the action, theme and arguments.
|
public AddSecondaryArgument ( |
||
argument | The node that is serving as the argument. | |
preposition | The preposition describing the argument's relation to the method. | |
Résultat | void |
public AddUnknownArgument ( |
||
argument | A Node corresponding to the argument to add. | |
Résultat | void |
public AddUnknownArguments ( IEnumerable |
||
arguments | IEnumerable |
A collection of the arguments to add. |
Résultat | void |
public AssignStructuralInformation ( IdSplitter splitter, Tagger tagger ) : void | ||
splitter | IdSplitter | An IdSplitter to split the method name into words. |
tagger | Tagger | A Tagger to tag the parts-of-speech of the name. |
Résultat | void |
public CreateEquivalenceFromUnknownArguments ( |
||
equivalentNode | The first node to add to the EquivalenceNode, i.e. the node that the unknown arguments are equivalent with. | |
equivalentUnknownArgs | IEnumerable |
The UnknownArguments to include in the equivalence. |
Résultat |
public CreateEquivalenceFromUnknownArguments ( |
||
equivalentNode | The first node to add to the EquivalenceNode, i.e. the node that the unknown arguments are equivalent with. | |
equivalentUnknownArgs | bool | An array of booleans indicating which unknown arguments to include in the equivalence. /// This array must be the same length as the UnknownArguments list. /// For each element in the array, a value of True means to include the corresponding unknown argument, False means to not include it. |
Résultat |
public CreateThemeFromPhrases ( |
||
phrase1 | The first phrase. | |
phrase2 | The second phrase. | |
Résultat | void |
public MethodDeclarationNode ( string name ) : System | ||
name | string | The name of the method. |
Résultat | System |
public MethodDeclarationNode ( string name, MethodContext context ) : System | ||
name | string | The name of the method. |
context | MethodContext | The method's context. |
Résultat | System |