Exemplo n.º 1
0
        public override void ExitGoto_src_command([NotNull] CrawlLangParser.Goto_src_commandContext context)
        {
            string selector = context.selector().GetText().Trim('\'');

            /*
             *             GotoSrcCommand gotoSrcCommand = new GotoSrcCommand(_CurrentBlock, selector,
             *                                                       _ExecutionEngine.GotoClick_Head,
             *                                                       _ExecutionEngine.GotoClick_Tail);
             */
            _BlockIds.Pop();
            //_CurrentBlock.Add(gotoSrcCommand);
            throw new NotImplementedException("This command has not been implemented yet");
        }
 public abstract override void ExitGoto_src_command([NotNull] CrawlLangParser.Goto_src_commandContext context);
Exemplo n.º 3
0
 public override void EnterGoto_src_command([NotNull] CrawlLangParser.Goto_src_commandContext context)
 {
     _BlockIds.Push(Guid.NewGuid());
     _CommandBlocks.Add(_CurrentBlockId, new List <ICommand>());
 }