Esempio n. 1
0
        public static List<AbstractType> SearchAndResolve(ResolutionContext ctxt, CodeLocation caret, int nameHash, ISyntaxRegion idObject=null)
        {
            var scan = new NameScan(ctxt, nameHash, idObject);

            scan.IterateThroughScopeLayers(caret);

            return scan.matches_types;
        }
Esempio n. 2
0
        public static List <AbstractType> SearchAndResolve(ResolutionContext ctxt, CodeLocation caret, int nameHash, ISyntaxRegion idObject = null)
        {
            var scan = new NameScan(ctxt, nameHash, idObject);

            scan.IterateThroughScopeLayers(caret);

            return(scan.matches_types);
        }
Esempio n. 3
0
        public static IEnumerable <INode> SearchMatchesAlongNodeHierarchy(ResolverContextStack ctxt, CodeLocation caret, string name)
        {
            var scan = new NameScan(ctxt)
            {
                filterId = name
            };

            scan.IterateThroughScopeLayers(caret);

            return(scan.Matches);
        }
Esempio n. 4
0
        public static IEnumerable<INode> SearchMatchesAlongNodeHierarchy(ResolverContextStack ctxt, CodeLocation caret, string name)
        {
            var scan = new NameScan(ctxt) { filterId=name };

            scan.IterateThroughScopeLayers(caret);

            return scan.Matches;
        }