public override void EnterWait_for_command([NotNull] CrawlLangParser.Wait_for_commandContext context) { string selector = context.selector().GetText().Trim('\''); int amount = Convert.ToInt32(context.wait_amount().GetText()); WaitForCommand waitForCommand = new WaitForCommand(selector, amount, _ExecutionEngine.WaitFor); _CurrentBlock.Add(waitForCommand); }
public abstract override void ExitWait_for_command([NotNull] CrawlLangParser.Wait_for_commandContext context);