Example #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;
        }
Example #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);
        }
Example #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);
        }
Example #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;
        }