Package org.eclipse.cdt.core.index

Examples of org.eclipse.cdt.core.index.IIndexBinding


    throws Exception
  {
    ArrayList<HashMap<String,Object>> results =
      new ArrayList<HashMap<String,Object>>();
    ICProject project = element.getCProject();
    IIndexBinding calleeBinding = IndexUI.elementToBinding(index, element);
    if (calleeBinding != null) {
      results.addAll(findCallers(index, calleeBinding, true, project, seen));
      if (calleeBinding instanceof ICPPMethod) {
        // cdt 8.1.1 requires a second arg (point: IASTNode), but cdt 8.1.1
        // hasn't been released independent of eclipse 4.2.1, so distros are
View Full Code Here


    IIndexName name = IndexUI.elementToName(index, element);
    IIndexName[] enclosedNames = name.getEnclosedNames();

    ArrayList<Call> calls = new ArrayList<Call>(enclosedNames.length);
    for (IIndexName enclosedName : enclosedNames) {
      IIndexBinding binding = index.findBinding(enclosedName);
      IIndexName[] enclosedDefinitionNames = index.findDefinitions(binding);
      if (enclosedDefinitionNames == null || enclosedDefinitionNames.length == 0){
        continue;
      }
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.index.IIndexBinding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.