public override void ConstructSwum(ProgramElementNode node)
{
if (node is MethodDeclarationNode)
{
MethodDeclarationNode mdn = (MethodDeclarationNode)node;
mdn.Parse(this.Splitter);
this.PosTagger.TagNounPhrase(mdn.ParsedName);
mdn.AssignStructuralInformation(this.Splitter, this.PosTagger);
mdn.Theme = mdn.ParsedName;
mdn.AddUnknownArguments(mdn.FormalParameters);
//TODO: from Emily, how to fill in Action?
mdn.IsConstructor = true;
mdn.SwumRuleUsed = this;
}
else
{
//TODO: return error?
}
}
}