Exemple #1
0
        public void scan(string path)
        {
            ContExt c = new ContExt();

            PatternPicker.FillTriggers(NamePicker);
            c.Init(PatternPicker.Triggers, true);
            c.Scan(path);
            IList <Match> ret         = c.Hit;
            Trigger       trigger     = null;
            string        currentFile = @"";

            for (int i = 0; ret.Count > i; ++i)
            {
                if (!ret[i].Path.Equals(currentFile))
                {
                    currentFile = ret[i].Path;
                    trigger     = new Trigger();
                }
                if (TAG_TRIGGER.Equals(ret[i].Tag))
                {
                    trigger.Name         = NamePicker.PickTrigger(ret[i].OneLine());
                    trigger.TriggerTable = NamePicker.PickSelectable(ret[i].OneLine());
                }
                if (TAG_SELECT.Equals(ret[i].Tag))
                {
                    trigger.Selects.Add(NamePicker.PickSelectable(ret[i].OneLine()));
                }
            }
        }
Exemple #2
0
        public void scan(string path)
        {
            ContExt c = new ContExt();

            PatternPicker.FillViews(NamePicker);
            c.Init(PatternPicker.Views, true);
            c.Scan(path);
        }
Exemple #3
0
        public void Scan(string path)
        {
            ContExt c = new ContExt();

            PatternPicker.FillPackages(NamePicker);
            c.Init(PatternPicker.Packages, true);
            c.Scan(path);
        }
Exemple #4
0
        public void scan(string path)
        {
            ContExt c = new ContExt();

            PatternPicker.FillProcedures(NamePicker);
            c.Init(PatternPicker.Procedures, true);
            c.Scan(path);
        }
Exemple #5
0
        public void Scan(string path)
        {
            ContExt c = new ContExt();

            PatternPicker.FillFunctions(NamePicker);
            c.Init(PatternPicker.Functions, true);
            c.Scan(path);
        }