Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2008-02-10 05:41:12 +0000
committerSergey Prigogin2008-02-10 05:41:12 +0000
commit5698ac73335934cbbf85c24f96ce7fae22947c77 (patch)
treeb51c75b6810fa23b40978c3e966d10c113d2781a /core/org.eclipse.cdt.core/parser
parentc113b004769eb979b72cd7c859462ecc0050224e (diff)
downloadorg.eclipse.cdt-5698ac73335934cbbf85c24f96ce7fae22947c77.tar.gz
org.eclipse.cdt-5698ac73335934cbbf85c24f96ce7fae22947c77.tar.xz
org.eclipse.cdt-5698ac73335934cbbf85c24f96ce7fae22947c77.zip
Added toString method.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBaseDeclSpecifier.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBaseDeclSpecifier.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBaseDeclSpecifier.java
index 7ef47d28446..9e08b3cb3f4 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBaseDeclSpecifier.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPASTBaseDeclSpecifier.java
@@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.cdt.internal.core.dom.parser.cpp;
+import org.eclipse.cdt.core.dom.ast.ASTSignatureUtil;
import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTDeclSpecifier;
/**
@@ -81,4 +82,7 @@ public abstract class CPPASTBaseDeclSpecifier extends CPPASTNode implements ICPP
this.explicit = value;
}
+ public String toString() {
+ return ASTSignatureUtil.getSignature(this);
+ }
}

Back to the top