// Copyright (c) 1994 James Clark // See the file COPYING for copying permission. #ifndef TokenMessageArg_INCLUDED #define TokenMessageArg_INCLUDED 1 #ifdef __GNUG__ #pragma interface #endif #include "MessageArg.h" #include "types.h" #include "Mode.h" #include "Syntax.h" #include "Sd.h" #include "Ptr.h" #ifdef SP_NAMESPACE namespace SP_NAMESPACE { #endif class TokenMessageArg : public MessageArg { public: TokenMessageArg(Token token, Mode mode, const ConstPtr &syntax, const ConstPtr &sd); MessageArg *copy() const; void append(MessageBuilder &) const; private: Token token_; Mode mode_; ConstPtr syntax_; ConstPtr sd_; }; #ifdef SP_NAMESPACE } #endif #endif /* not TokenMessageArg_INCLUDED */