C# Class ABB.Swum.FieldRule

The SWUM creation rule for fields in classes.
Inheritance: UnigramRule
Mostra file Open project: abb-iss/Swum.NET Class Usage Examples

Public Methods

Method Description
ConstructSwum ( ProgramElementNode node ) : void

Constructs the Software Word Use Model on the given node, using this Rule.

FieldRule ( ) : System

Creates a new FieldRule using the defaults.

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

Creates a new FieldRule.

InClass ( ProgramElementNode node ) : bool

Determines whether the supplied ProgramElementNode matches the conditions of this rule.

Method Details

ConstructSwum() public method

Constructs the Software Word Use Model on the given node, using this Rule.
public ConstructSwum ( ProgramElementNode node ) : void
node ABB.Swum.Nodes.ProgramElementNode The node to construct the SWUM on.
return void

FieldRule() public method

Creates a new FieldRule using the defaults.
public FieldRule ( ) : System
return System

FieldRule() public method

Creates a new FieldRule.
public FieldRule ( 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.
return System

InClass() public method

Determines whether the supplied ProgramElementNode matches the conditions of this rule.
public InClass ( ProgramElementNode node ) : bool
node ABB.Swum.Nodes.ProgramElementNode The ProgramElementNode to test.
return bool