lib/antlr/antlr/CommonASTWithHiddenTokens.hpp
Go to the documentation of this file.00001
#ifndef INC_CommonASTWithHiddenTokens_hpp__
00002
#define INC_CommonASTWithHiddenTokens_hpp__
00003
00004
00005
00006
00007
00008
00009
00010
00011
#include <antlr/config.hpp>
00012
#include <antlr/CommonAST.hpp>
00013
00014
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00015
namespace antlr {
00016
#endif
00017
00021 class ANTLR_API CommonASTWithHiddenTokens :
public CommonAST {
00022
public:
00023 CommonASTWithHiddenTokens();
00024
virtual ~CommonASTWithHiddenTokens();
00025 virtual const char* typeName(
void )
const
00026
{
00027
return "CommonASTWithHiddenTokens";
00028 }
00030
virtual RefAST clone(
void ) const;
00031
00032
00033 virtual
void initialize(
int t,const ANTLR_USE_NAMESPACE(std)string& txt);
00034 virtual
void initialize(
RefAST t);
00035 virtual
void initialize(
RefToken t);
00036
00037 virtual
RefToken getHiddenAfter()
const
00038
{
00039
return hiddenAfter;
00040 }
00041
00042 virtual RefToken getHiddenBefore()
const
00043
{
00044
return hiddenBefore;
00045 }
00046
00047
static RefAST factory();
00048
00049
protected:
00050 RefToken hiddenBefore,hiddenAfter;
00051 };
00052
00053 typedef ASTRefCount<CommonASTWithHiddenTokens> RefCommonASTWithHiddenTokens;
00054
00055
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00056
}
00057
#endif
00058
00059
#endif //INC_CommonASTWithHiddenTokens_hpp__
This file is part of the documentation for KDevelop Version 3.0.4.