public override void ExitClick_each_command([NotNull] CrawlLangParser.Click_each_commandContext context) { string selector = context.selector().GetText().Trim('\''); ClickEachCommand clickEachCommand = new ClickEachCommand(_CurrentBlock, selector, _ExecutionEngine.ClickEach_Head, _ExecutionEngine.ClickEach_IterationBegin, _ExecutionEngine.ClickEach_IterationEnd, _ExecutionEngine.ClickEach_Tail); _BlockIds.Pop(); _CurrentBlock.Add(clickEachCommand); }
public abstract override void ExitClick_each_command([NotNull] CrawlLangParser.Click_each_commandContext context);
public override void EnterClick_each_command([NotNull] CrawlLangParser.Click_each_commandContext context) { _BlockIds.Push(Guid.NewGuid()); _CommandBlocks.Add(_CurrentBlockId, new List <ICommand>()); }