Update of /cvsroot/cpptool/rfta/include/rfta/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv32233/include/rfta/parser
Modified Files:
ASTNode.h
Log Message:
* deprecated old constructo and now using a SourceRange object to specify the node range.
Index: ASTNode.h
===================================================================
RCS file: /cvsroot/cpptool/rfta/include/rfta/parser/ASTNode.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** ASTNode.h 22 Dec 2002 16:03:49 -0000 1.14
--- ASTNode.h 25 Dec 2002 22:39:03 -0000 1.15
***************
*** 34,37 ****
--- 34,43 ----
static ASTNodePtr create( const ASTNodeType &type,
const ASTNodeWeakPtr &parentNode,
+ const SourceRange &sourceRange,
+ const SourceASTNodeWeakPtr &sourceNode );
+
+ // deprecated
+ static ASTNodePtr create( const ASTNodeType &type,
+ const ASTNodeWeakPtr &parentNode,
int startIndex,
int length,
***************
*** 83,88 ****
ASTNode( const ASTNodeType &type,
const ASTNodeWeakPtr &parentNode,
! int startIndex,
! int length );
void setSourceNode( const SourceASTNodeWeakPtr &sourceNode );
--- 89,93 ----
ASTNode( const ASTNodeType &type,
const ASTNodeWeakPtr &parentNode,
! const SourceRange &sourceRange );
void setSourceNode( const SourceASTNodeWeakPtr &sourceNode );
|