Update of /cvsroot/cpptool/rfta/include/rfta/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv32542/include/rfta/parser
Modified Files:
Parser.h
Log Message:
* if condition node is trimed
Index: Parser.h
===================================================================
RCS file: /cvsroot/cpptool/rfta/include/rfta/parser/Parser.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** Parser.h 20 Dec 2002 08:30:51 -0000 1.3
--- Parser.h 25 Dec 2002 22:40:21 -0000 1.4
***************
*** 42,45 ****
--- 42,49 ----
int startIndex,
int length ) const;
+
+ ASTNodePtr createASTNode( const ASTNodeType &type,
+ const ASTNodeWeakPtr &parentNode,
+ const SourceRange &sourceRange ) const;
protected:
***************
*** 96,99 ****
--- 100,109 ----
void throwFailure( const boost::format &format );
+
+ int getIndexOf( const char *pos );
+
+ SourceRange getTrimedRange( const SourceRange &sourceRange );
+ SourceRange getTrimedRangeFromIndexes( int startIndex,
+ int endIndex );
template<typename ParserType>
|