|
From: <net...@us...> - 2003-12-16 13:24:23
|
Update of /cvsroot/cpptool/rfta/include/rfta/parser
In directory sc8-pr-cvs1:/tmp/cvs-serv24992/rfta/include/rfta/parser
Modified Files:
NonSemanticBlanker.h
Log Message:
-- small interface change for blanker
-- comments
Index: NonSemanticBlanker.h
===================================================================
RCS file: /cvsroot/cpptool/rfta/include/rfta/parser/NonSemanticBlanker.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NonSemanticBlanker.h 27 Oct 2002 19:31:46 -0000 1.3
--- NonSemanticBlanker.h 16 Dec 2003 13:24:20 -0000 1.4
***************
*** 5,30 ****
#include <string>
namespace Refactoring
! {
!
! class RFTAPARSER_API PPDirectiveListener
! {
! public:
! virtual void parseDirective( const char *first,
! const char *last ) =0;
! };
!
!
! class RFTAPARSER_API NullPPDirectiveListener : public PPDirectiveListener
! {
! public:
! void parseDirective( const char *first,
! const char *last )
! {
! }
! };
!
!
class RFTAPARSER_API NonSemanticBlanker
{
--- 5,12 ----
#include <string>
+ #include "PPDirectiveListener.h"
namespace Refactoring
! {
class RFTAPARSER_API NonSemanticBlanker
{
***************
*** 32,36 ****
NonSemanticBlanker( const std::string &textToBlank,
std::string &blanked,
! PPDirectiveListener &ppDirectiveParser );
void blank();
--- 14,18 ----
NonSemanticBlanker( const std::string &textToBlank,
std::string &blanked,
! PPDirectiveListenerPtr ppDirectiveParser );
void blank();
***************
*** 49,53 ****
const char *textEnd_;
std::string &blanked_;
! PPDirectiveListener &ppDirectiveParser_;
bool newLine_;
const char* current_;
--- 31,35 ----
const char *textEnd_;
std::string &blanked_;
! PPDirectiveListenerPtr ppDirectiveParser_;
bool newLine_;
const char* current_;
|