C# Класс CodeAnalysisToolkit.SimpleSwumGenerator

Показать файл Открыть проект

Приватные методы

Метод Описание
BuildValidSwums ( String name, MethodContext mc ) : MethodDeclarationNode>.Dictionary
CompareSwums ( string name, MethodContext mc ) : bool

Given a method name, check if the generated swums are all the same.

FromMethodCallToSWUM ( ABB.SrcML.Data.MethodCall mcall, ABB.SrcML.Data.NamespaceDefinition globalNamespace, DataProject dataProject ) : MethodDeclarationNode
GenerateEndingSUnit ( ) : void
GenerateSameActionSUnit ( ) : void
GenerateSimpleSwum ( ) : void
GenerateSwumForAnyOccassion ( ) : void
GenerateVoidReturnSUnit ( ) : void
GetMethodVerb ( String name, MethodContext mc ) : String

Returns the verb given a method name using all of the SwumRules. This does not make sure all of the rules returned the same verb, it returns the first one found.

InClassChecker ( String name, MethodContext mc ) : bool>.Dictionary

Checks if each SwumRule (13) returns (InClass = true) for the given method name. returns a dictionary of the SwumRule and boolean. Note that to build the swum you still have to run InClass for that method name.

initalizeSwum ( ) : void