ABB.Swum.UnigramMethodRule.InClass C# (CSharp) Метод

InClass() публичный Метод

Determines whether the given node satisfies this rule. ** Note that calling this method has the effect of stripping any preamble from the given node, and tagging any digits and prepositions. **
public InClass ( ProgramElementNode node ) : bool
node ABB.Swum.Nodes.ProgramElementNode The node to test.
Результат bool
        public override bool InClass(ProgramElementNode node)
        {
            if (node is MethodDeclarationNode)
            {
                MethodDeclarationNode mdn = (MethodDeclarationNode)node;
                mdn.Parse(this.Splitter);
                this.PosTagger.PreTag(mdn);
                return MakeClassification(mdn);
            }
            return false;
        }