Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Camelon2003-09-04 20:47:05 +0000
committerJohn Camelon2003-09-04 20:47:05 +0000
commit619b617056a791f58d394641c96f4db0f62b20e3 (patch)
tree36127ab89bf3521a22d2ed7a47f47daaeb48a28c /core/org.eclipse.cdt.ui
parent55efa70a8a755c2f485c9bf296578c7346ce26fb (diff)
downloadorg.eclipse.cdt-619b617056a791f58d394641c96f4db0f62b20e3.tar.gz
org.eclipse.cdt-619b617056a791f58d394641c96f4db0f62b20e3.tar.xz
org.eclipse.cdt-619b617056a791f58d394641c96f4db0f62b20e3.zip
CORE/UI
First pass of parsing function bodies with X-Reference information. Updated IASTFactory/ISourceElementRequestor to include IASTCodeScope constructs, clients should keep this in mind and update their implementations. TESTS Updated ASTFailedTests::testBug39702() to fail more accurately. Added testSimpleFunctionBody(), testSimpleForLoop() to CompleteParseASTTest.java.
Diffstat (limited to 'core/org.eclipse.cdt.ui')
-rw-r--r--core/org.eclipse.cdt.ui/ChangeLog5
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/SourceElementRequestorAdapter.java17
2 files changed, 22 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.ui/ChangeLog b/core/org.eclipse.cdt.ui/ChangeLog
index b50f0a5cb20..a486b285f19 100644
--- a/core/org.eclipse.cdt.ui/ChangeLog
+++ b/core/org.eclipse.cdt.ui/ChangeLog
@@ -1,3 +1,8 @@
+2003-09-04 John Camelon
+ First pass of parsing function bodies with X-Reference information.
+ Updated IASTFactory/ISourceElementRequestor to include IASTCodeScope
+ constructs, clients should keep this in mind and update their implementations.
+
2003-09-04 Alain Magloire
Faulty logic when checking the build console preferences.
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/SourceElementRequestorAdapter.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/SourceElementRequestorAdapter.java
index 1171195b8fa..6658c3c3040 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/SourceElementRequestorAdapter.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/compare/SourceElementRequestorAdapter.java
@@ -32,6 +32,7 @@ import org.eclipse.cdt.core.parser.ast.IASTMethod;
import org.eclipse.cdt.core.parser.ast.IASTMethodReference;
import org.eclipse.cdt.core.parser.ast.IASTNamespaceDefinition;
import org.eclipse.cdt.core.parser.ast.IASTNamespaceReference;
+import org.eclipse.cdt.core.parser.ast.IASTScope;
import org.eclipse.cdt.core.parser.ast.IASTTemplateDeclaration;
import org.eclipse.cdt.core.parser.ast.IASTTemplateInstantiation;
import org.eclipse.cdt.core.parser.ast.IASTTemplateSpecialization;
@@ -292,4 +293,20 @@ public class SourceElementRequestorAdapter implements ISourceElementRequestor {
public void exitTemplateSpecialization(IASTTemplateSpecialization specialization) {
}
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.parser.ISourceElementRequestor#enterCodeBlock(org.eclipse.cdt.core.parser.ast.IASTScope)
+ */
+ public void enterCodeBlock(IASTScope scope) {
+ // TODO Auto-generated method stub
+
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.parser.ISourceElementRequestor#exitCodeBlock(org.eclipse.cdt.core.parser.ast.IASTScope)
+ */
+ public void exitCodeBlock(IASTScope scope) {
+ // TODO Auto-generated method stub
+
+ }
+
}

Back to the top