Beispiel #1
0
        public override void Analyze(string language, string code)
        {
            base.Analyze(language, code);

            CodeLines  = code.ParseCode(language);
            SuffixTree = new Bor <string>();

            for (var i = 0; i < CodeLines.Length; i++)
            {
                SuffixTree.Push(CodeLines, i);
                ParsedCodeLength += CodeLines[i].Length;
            }
        }
 public void Register(string signature)
 {
     Bor.Push(signature.ToCharArray(), 0);
     Count++;
 }