mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
2004-07-30 Alain Magloire
In the StrutureParseCallback add the IASTUsingDirective IASTUsingDeclaration part of the return declarations * org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
This commit is contained in:
parent
cfb6771929
commit
fa38a77470
2 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-07-30 Alain Magloire
|
||||||
|
|
||||||
|
In the StrutureParseCallback add the
|
||||||
|
IASTUsingDirective
|
||||||
|
IASTUsingDeclaration
|
||||||
|
part of the return declarations
|
||||||
|
* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
|
||||||
|
|
||||||
2004-07-07 Andrew Niefer
|
2004-07-07 Andrew Niefer
|
||||||
Symbol Table Refactoring:
|
Symbol Table Refactoring:
|
||||||
- TypeInfo._typeDeclaration is no longer used for forward declarations, instead BasicSymbol._instantiatedSymbol
|
- TypeInfo._typeDeclaration is no longer used for forward declarations, instead BasicSymbol._instantiatedSymbol
|
||||||
|
|
|
@ -28,6 +28,7 @@ import org.eclipse.cdt.core.parser.ast.IASTNode;
|
||||||
import org.eclipse.cdt.core.parser.ast.IASTScope;
|
import org.eclipse.cdt.core.parser.ast.IASTScope;
|
||||||
import org.eclipse.cdt.core.parser.ast.IASTTemplateDeclaration;
|
import org.eclipse.cdt.core.parser.ast.IASTTemplateDeclaration;
|
||||||
import org.eclipse.cdt.core.parser.ast.IASTTypedefDeclaration;
|
import org.eclipse.cdt.core.parser.ast.IASTTypedefDeclaration;
|
||||||
|
import org.eclipse.cdt.core.parser.ast.IASTUsingDirective;
|
||||||
import org.eclipse.cdt.core.parser.ast.IASTVariable;
|
import org.eclipse.cdt.core.parser.ast.IASTVariable;
|
||||||
import org.eclipse.cdt.internal.core.parser.QuickParseCallback;
|
import org.eclipse.cdt.internal.core.parser.QuickParseCallback;
|
||||||
import org.eclipse.cdt.internal.core.parser.ast.complete.ASTLinkageSpecification;
|
import org.eclipse.cdt.internal.core.parser.ast.complete.ASTLinkageSpecification;
|
||||||
|
@ -113,6 +114,13 @@ public class StructuralParseCallback extends QuickParseCallback{
|
||||||
addElement(typedef);
|
addElement(typedef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptUsingDirective(org.eclipse.cdt.core.parser.ast.IASTUsingDirective)
|
||||||
|
*/
|
||||||
|
public void acceptUsingDirective(IASTUsingDirective usageDirective) {
|
||||||
|
addElement(usageDirective);
|
||||||
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptEnumerationSpecifier(org.eclipse.cdt.core.parser.ast.IASTEnumerationSpecifier)
|
* @see org.eclipse.cdt.core.parser.ISourceElementRequestor#acceptEnumerationSpecifier(org.eclipse.cdt.core.parser.ast.IASTEnumerationSpecifier)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue