Update of /cvsroot/cpptool/rfta/src/rftaparser
In directory sc8-pr-cvs1:/tmp/cvs-serv32733
Modified Files:
ASTNodes.cpp
Log Message:
-- fixed flags for identifier resolver
-- added nodes and properties
Index: ASTNodes.cpp
===================================================================
RCS file: /cvsroot/cpptool/rfta/src/rftaparser/ASTNodes.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** ASTNodes.cpp 16 May 2003 09:58:43 -0000 1.25
--- ASTNodes.cpp 6 Sep 2003 21:44:53 -0000 1.26
***************
*** 21,25 ****
const ASTNodeType ASTNodeTypes::namespaceDeclaration ( "namespace-declaration" , mayHaveLocalScopeIdentifierChildren | mayHaveFunctionImplChildren );
const ASTNodeType ASTNodeTypes::declarationList ( "declaration-list" , mayHaveLocalScopeIdentifierChildren | mayHaveFunctionImplChildren );
! const ASTNodeType ASTNodeTypes::functionImplementation ( "function-implementation" , mayHaveLocalScopeIdentifierChildren );
const ASTNodeType ASTNodeTypes::unparsedDeclarationList ( "unparsed-declaration-list", mayHaveLocalScopeIdentifierChildren );
const ASTNodeType ASTNodeTypes::unparsedDeclaration ( "unparsed-declaration", mayHaveLocalScopeIdentifierChildren );
--- 21,25 ----
const ASTNodeType ASTNodeTypes::namespaceDeclaration ( "namespace-declaration" , mayHaveLocalScopeIdentifierChildren | mayHaveFunctionImplChildren );
const ASTNodeType ASTNodeTypes::declarationList ( "declaration-list" , mayHaveLocalScopeIdentifierChildren | mayHaveFunctionImplChildren );
! const ASTNodeType ASTNodeTypes::functionImplementation ( "function-implementation" , mayHaveLocalScopeIdentifierProperties );
const ASTNodeType ASTNodeTypes::unparsedDeclarationList ( "unparsed-declaration-list", mayHaveLocalScopeIdentifierChildren );
const ASTNodeType ASTNodeTypes::unparsedDeclaration ( "unparsed-declaration", mayHaveLocalScopeIdentifierChildren );
***************
*** 27,37 ****
const ASTNodeType ASTNodeTypes::unparsedTemplateHeader ( "unparsed-template-header", mayHaveLocalScopeIdentifierChildren );
! const ASTNodeType ASTNodeTypes::declaration ( "declaration" , 0 );
! const ASTNodeType ASTNodeTypes::declarationSpecifierList ( "declaration-specifier-list" , 0 );
const ASTNodeType ASTNodeTypes::simpleTypeSpecifier ( "simple-type-specifier" , 0 );
! const ASTNodeType ASTNodeTypes::classSpecifier ( "class-specifier" , 0 );
! const ASTNodeType ASTNodeTypes::enumSpecifier ( "enum-specifier" , 0 );
const ASTNodeType ASTNodeTypes::elaboratedTypeSpecifier ( "elaborated-type-specifier" , 0 );
const ASTNodeType ASTNodeTypes::unparsedDeclarator ( "unparsed-declarator" , 0 );
const ASTNodeType ASTNodeTypes::enumBody( "enum-body" , 0 );
const ASTNodeType ASTNodeTypes::enumConstant( "enum-constant" , 0 );
--- 27,38 ----
const ASTNodeType ASTNodeTypes::unparsedTemplateHeader ( "unparsed-template-header", mayHaveLocalScopeIdentifierChildren );
! const ASTNodeType ASTNodeTypes::declaration ( "declaration" , mayHaveLocalScopeIdentifierChildren | mayHaveLocalScopeIdentifierProperties ); // specifier-identifier & declarator-identifier
! const ASTNodeType ASTNodeTypes::declarationSpecifierList ( "declaration-specifier-list" , mayHaveLocalScopeIdentifierChildren ); // specifier-identifier
const ASTNodeType ASTNodeTypes::simpleTypeSpecifier ( "simple-type-specifier" , 0 );
! const ASTNodeType ASTNodeTypes::classSpecifier ( "class-specifier" , mayHaveLocalScopeIdentifierProperties );
! const ASTNodeType ASTNodeTypes::enumSpecifier ( "enum-specifier" , mayHaveLocalScopeIdentifierProperties );
const ASTNodeType ASTNodeTypes::elaboratedTypeSpecifier ( "elaborated-type-specifier" , 0 );
const ASTNodeType ASTNodeTypes::unparsedDeclarator ( "unparsed-declarator" , 0 );
+ const ASTNodeType ASTNodeTypes::declarator ( "declarator", mayHaveLocalScopeIdentifierChildren );
const ASTNodeType ASTNodeTypes::enumBody( "enum-body" , 0 );
const ASTNodeType ASTNodeTypes::enumConstant( "enum-constant" , 0 );
***************
*** 123,126 ****
--- 124,128 ----
const ASTNodeProperty ASTNodeProperties::enumBodyProperty ( "enumeration-body-property" );
const ASTNodeProperty ASTNodeProperties::classBodyProperty( "class-body-property" );
+ const ASTNodeProperty ASTNodeProperties::classNameProperty( "class-name-property" );
const ASTNodeProperty ASTNodeProperties::macroIdentifier( "macro-identifier-property" );
const ASTNodeProperty ASTNodeProperties::macroParameters( "macro-parameters-property" );
|