Update of /cvsroot/cpptool/rfta/include/rfta/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv21347/include/rfta/parser
Modified Files:
ASTNodes.h
Log Message:
-- rearrangement of some node types/names and properties
Index: ASTNodes.h
===================================================================
RCS file: /cvsroot/cpptool/rfta/include/rfta/parser/ASTNodes.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ASTNodes.h 14 Apr 2003 19:33:14 -0000 1.15
--- ASTNodes.h 15 Apr 2003 19:05:20 -0000 1.16
***************
*** 20,34 ****
static const ASTNodeType source;
! // a part of a source file that has not yet been parsed
! static const ASTNodeType unparsedSourcePart;
!
! // a template declaration that has not yet been parsed
! static const ASTNodeType unparsedTemplate;
! // a namespace-area that has not yet been parsed
! static const ASTNodeType unparsedNamespace;
// a linkage declaration e.g. 'extern "C++" { }'
! static const ASTNodeType unparsedLinkage;
// the command declaring the use of a namespace "using namespace xxx;"
--- 20,40 ----
static const ASTNodeType source;
! // a list of declarations that have not yet been parsed
! static const ASTNodeType unparsedDeclarationList;
!
! // a declaration that has not yet been parsed
! static const ASTNodeType unparsedDeclaration;
!
! // a function header that has not yet been parsed
! static const ASTNodeType unparsedFunctionHeader;
! // a template declaration
! static const ASTNodeType templateDeclaration;
+ // a template header that has not yet been parsed.
+ static const ASTNodeType unparsedTemplateHeader;
+
// a linkage declaration e.g. 'extern "C++" { }'
! static const ASTNodeType linkageDeclaration;
// the command declaring the use of a namespace "using namespace xxx;"
***************
*** 44,50 ****
static const ASTNodeType declarationList;
! // a not parsed function/method implementation
// e.g. "int fct() { ... }"
! static const ASTNodeType unparsedfunctionImplementation;
// statement types
--- 50,56 ----
static const ASTNodeType declarationList;
! // a function/method implementation
// e.g. "int fct() { ... }"
! static const ASTNodeType functionImplementation;
// statement types
***************
*** 201,206 ****
--- 207,216 ----
static const ASTNodeProperty namespaceBodyProperty;
static const ASTNodeProperty namespaceAliasProperty;
+ static const ASTNodeProperty templateHeaderProperty;
static const ASTNodeProperty templateBodyProperty;
static const ASTNodeProperty linkageBodyProperty;
+ static const ASTNodeProperty functionBodyProperty;
+ static const ASTNodeProperty functionHeaderProperty;
+
};
|