C# Class ABB.Swum.Nodes.FieldDeclarationNode

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

Public Methods

Method 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 method

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
return void

FieldDeclarationNode() public method

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

FieldDeclarationNode() public method

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

ToString() public method

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