Пример #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;
        }
Пример #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);
        }
Пример #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);
        }
Пример #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;
        }