C# Class ABB.Swum.DestructorRule

The rule to construct the SWUM for destructor methods.
Inheritance: UnigramRule
Afficher le fichier Open project: abb-iss/Swum.NET

Méthodes publiques

Méthode Description
ConstructSwum ( ProgramElementNode node ) : void

Constructs the Software Word Use Model for the given node. This method assumes that the node has already been tested to satisfy this Rule, using the InClass method.

DestructorRule ( ) : System

Creates a new DestructorRule using default values.

DestructorRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter ) : System

Creates a new DestructorRule.

InClass ( ProgramElementNode node ) : bool

Determines whether the supplied node meets the criteria for this rule.

Method Details

ConstructSwum() public méthode

Constructs the Software Word Use Model for the given node. This method assumes that the node has already been tested to satisfy this Rule, using the InClass method.
public ConstructSwum ( ProgramElementNode node ) : void
node ABB.Swum.Nodes.ProgramElementNode The node to construct SWUM for.
Résultat void

DestructorRule() public méthode

Creates a new DestructorRule using default values.
public DestructorRule ( ) : System
Résultat System

DestructorRule() public méthode

Creates a new DestructorRule.
public DestructorRule ( PartOfSpeechData posData, Tagger tagger, IdSplitter splitter ) : System
posData ABB.Swum.WordData.PartOfSpeechData The part-of-speech data to use.
tagger Tagger The part-of-speech tagger to use.
splitter IdSplitter The identifier splitter to use.
Résultat System

InClass() public méthode

Determines whether the supplied node meets the criteria for this rule.
public InClass ( ProgramElementNode node ) : bool
node ABB.Swum.Nodes.ProgramElementNode The node to test.
Résultat bool