Exemplo n.º 1
0
 void Taker <GrammarBlock> .Take(GrammarBlock item)
 {
     GrammarBlockUtils.ForEach(item, "Unreadable", (gBlock) => {
         string result = fileName + " : ";
         GrammarBlockUtils.ForEachUnits((gBlock), (gUnit) => result += " " + gUnit.word);
         parent.parent.OnUnreadableFound.Invoke(result);
     });
     parent.parent.bAnalyzer.bAnlys.AnalyzeBehavior(item, this);
 }
Exemplo n.º 2
0
                void Taker <GrammarBlock> .Take(GrammarBlock item)
                {
                    GrammarBlockUtils.ForEach(item, "Unreadable", (gBlock) => {
                        string result = "";
                        GrammarBlockUtils.ForEachUnits((gBlock), (gUnit) => result += " " + gUnit.word);
                        parent.parent.OnUnreadableFound.Invoke(result);
                    });
                    parent.parent.OnSucceedEvent.Invoke(new AnalysisResult {
                        gBlock = item, name = fileName, sourceText = sourceText
                    });

                    parent.parent.bAnalyzer.bAnlys.AnalyzeBehavior(item, this);
                }