Method | Description | |
---|---|---|
ToString ( ) : string |
Creates a string representation, consisting of the type and the variable name.
|
|
VariableDeclarationNode ( string name ) : System |
Creates a new VariableDeclarationNode.
|
|
VariableDeclarationNode ( string name, IdSplitter splitter ) : System |
Creates a new VariableDeclarationNode.
|
|
VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger ) : System |
Creates a new VariableDeclarationNode.
|
|
VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger, Location location ) : System |
Creates a new VariableDeclarationNode.
|
|
VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger, Location location, int position ) : System |
Creates a new VariableDeclarationNode.
|
Method | Description | |
---|---|---|
InitType ( string typeName, bool isPrimitive, IdSplitter splitter, Tagger tagger ) : void |
Creates a TypeNode from a string version of the type, and set it to the Type property.
|
protected InitType ( string typeName, bool isPrimitive, IdSplitter splitter, Tagger tagger ) : void | ||
typeName | string | A string version of the variable's type. |
isPrimitive | bool | Whether the type is a primitive data type. |
splitter | IdSplitter | An IdSplitter to split the type into words. |
tagger | Tagger | A Tagger to tag the parts-of-speech of the type words. |
return | void |
public VariableDeclarationNode ( string name ) : System | ||
name | string | The name of the variable. |
return | System |
public VariableDeclarationNode ( string name, IdSplitter splitter ) : System | ||
name | string | The name of the variable. |
splitter | IdSplitter | An IdSplitter to split the name into words. |
return | System |
public VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger ) : System | ||
name | string | The name of the variable. |
type | string | A string giving the type of the variable. |
isPrimitive | bool | Whether the type is a primitive data type. |
splitter | IdSplitter | An IdSplitter to split the name into words. |
tagger | Tagger | A part-of-speech tagger to tag the words in the name. |
return | System |
public VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger, Location location ) : System | ||
name | string | The name of the variable. |
type | string | A string giving the type of the variable. |
isPrimitive | bool | Whether the type is a primitive data type. |
splitter | IdSplitter | An IdSplitter to split the name into words. |
tagger | Tagger | A part-of-speech tagger to tag the words in the name. |
location | Location | The program location of the variable declaration. |
return | System |
public VariableDeclarationNode ( string name, string type, bool isPrimitive, IdSplitter splitter, Tagger tagger, Location location, int position ) : System | ||
name | string | The name of the variable. |
type | string | A string giving the type of the variable. |
isPrimitive | bool | Whether the type is a primitive data type. |
splitter | IdSplitter | An IdSplitter to split the name into words. |
tagger | Tagger | A part-of-speech tagger to tag the words in the name. |
location | Location | The program location of the variable declaration. |
position | int | The position of this variable in the declaration list. |
return | System |