Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/tag/ITagService.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/tag/ITagService.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/tag/ITagService.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/tag/ITagService.java
new file mode 100644
index 00000000000..05e12af7a4b
--- /dev/null
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/tag/ITagService.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2013 QNX Software Systems and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ */
+
+package org.eclipse.cdt.core.dom.ast.tag;
+
+import org.eclipse.cdt.core.dom.ast.IBinding;
+
+/**
+ * Provides ITagReaders for specific bindings. The kind of the reader will vary based on
+ * the kind of the input binding.
+ *
+ * @see ITag
+ * @see ITagReader
+ * @since 5.5
+ */
+public interface ITagService
+{
+ /**
+ * Finds or creates a tag reader for the specified binding or null if a reader cannot
+ * be associated with this binding.
+ *
+ * @param binding could be null
+ */
+ public ITagReader findTagReader( IBinding binding );
+}

Back to the top