public override void ExitWhile_click_command([NotNull] CrawlLangParser.While_click_commandContext context) { string selector = context.selector().GetText().Trim('\''); WhileClickCommand whileClickCommand = new WhileClickCommand(_CurrentBlock, selector, _ExecutionEngine.WhileClick_Head, _ExecutionEngine.WhileClick_IterationBegin, _ExecutionEngine.WhileClick_IterationEnd, _ExecutionEngine.WhileClick_Tail); _BlockIds.Pop(); _CurrentBlock.Add(whileClickCommand); }
public abstract override void ExitWhile_click_command([NotNull] CrawlLangParser.While_click_commandContext context);
public override void EnterWhile_click_command([NotNull] CrawlLangParser.While_click_commandContext context) { _BlockIds.Push(Guid.NewGuid()); _CommandBlocks.Add(_CurrentBlockId, new List <ICommand>()); }