diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java')
-rw-r--r-- | core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java index c02c74260a8..347a8fc26ae 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/IPDOM.java @@ -10,27 +10,28 @@ *******************************************************************************/ package org.eclipse.cdt.core.dom; -import org.eclipse.cdt.core.dom.ast.IASTName; import org.eclipse.cdt.core.dom.ast.IBinding; import org.eclipse.cdt.core.model.IWorkingCopy; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IAdaptable; /** - * @author Doug Schaefer + * This is the reader interface to the PDOM. It is used by general + * clients that need access to the information stored there. * - * This is the interface to the Persisted DOM (PDOM). - * It provides services to allow access to DOM information - * persisted between parses. + * @author Doug Schaefer */ public interface IPDOM extends IAdaptable { - public IBinding resolveBinding(IASTName name); - + /** + * Find all the bindings that match the pattern. + * + * @param pattern + * @return + * @throws CoreException + */ public IBinding[] findBindings(String pattern) throws CoreException; - public IASTName[] getDeclarations(IBinding binding); - /** * Recursively visit the nodes in this PDOM using the given visitor. * |