C# Class ABB.Swum.Nodes.FieldDeclarationNode

Represents a field declaration in the program.
Inheritance: ProgramElementNode
Afficher le fichier Open project: abb-iss/Swum.NET Class Usage Examples

Méthodes publiques

Méthode Description
AssignStructuralInformation ( IdSplitter splitter, Tagger tagger ) : void

Assigns the attributes of this field related to its structure within the program.

FieldDeclarationNode ( string name ) : System

Creates a new FieldDeclarationNode with the given name, and no context.

FieldDeclarationNode ( string name, FieldContext context ) : System

Creates a new FieldDeclarationNode.

ToString ( ) : string

Creates a string representation, including the field's type and name.

Method Details

AssignStructuralInformation() public méthode

Assigns the attributes of this field related to its structure within the program.
public AssignStructuralInformation ( IdSplitter splitter, Tagger tagger ) : void
splitter IdSplitter An IdSplitter to split the words of identifiers.
tagger Tagger A part-of-speech tagger
Résultat void

FieldDeclarationNode() public méthode

Creates a new FieldDeclarationNode with the given name, and no context.
public FieldDeclarationNode ( string name ) : System
name string The name of the declared field.
Résultat System

FieldDeclarationNode() public méthode

Creates a new FieldDeclarationNode.
public FieldDeclarationNode ( string name, FieldContext context ) : System
name string The name of the declared field.
context FieldContext The surrounding context of the field.
Résultat System

ToString() public méthode

Creates a string representation, including the field's type and name.
public ToString ( ) : string
Résultat string