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; }
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); }
public static IEnumerable <INode> SearchMatchesAlongNodeHierarchy(ResolverContextStack ctxt, CodeLocation caret, string name) { var scan = new NameScan(ctxt) { filterId = name }; scan.IterateThroughScopeLayers(caret); return(scan.Matches); }
public static IEnumerable<INode> SearchMatchesAlongNodeHierarchy(ResolverContextStack ctxt, CodeLocation caret, string name) { var scan = new NameScan(ctxt) { filterId=name }; scan.IterateThroughScopeLayers(caret); return scan.Matches; }