lib/antlr/antlr/ASTNULLType.hpp
Go to the documentation of this file.00001
#ifndef INC_ASTNULLType_hpp__
00002
#define INC_ASTNULLType_hpp__
00003
00004
00005
00006
00007
00008
00009
00010
00011
#include <antlr/config.hpp>
00012
#include <antlr/AST.hpp>
00013
#include <iostream>
00014
00015
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00016
namespace antlr {
00017
#endif
00018
00020 class ANTLR_API ASTNULLType :
public AST {
00021
public:
00022
const char* typeName(
void )
const;
00023
RefAST clone(
void )
const;
00024
00025
void addChild(
RefAST c);
00026
void setFirstChild(
RefAST c);
00027
void setNextSibling(
RefAST n);
00028
00029
bool equals(
RefAST t)
const;
00030
bool equalsList(
RefAST t)
const;
00031
bool equalsListPartial(
RefAST t)
const;
00032
bool equalsTree(
RefAST t)
const;
00033
bool equalsTreePartial(
RefAST t)
const;
00034
00035
ANTLR_USE_NAMESPACE(std)vector<RefAST> findAll(
RefAST tree);
00036
ANTLR_USE_NAMESPACE(std)vector<RefAST> findAllPartial(
RefAST subtree);
00037
00038
RefAST getFirstChild()
const;
00039
RefAST getNextSibling()
const;
00040
00041
ANTLR_USE_NAMESPACE(std)string getText()
const;
00042
int getType()
const;
00043
00044
void initialize(
int t,
const ANTLR_USE_NAMESPACE(std)string& txt);
00045
void initialize(
RefAST t);
00046
void initialize(
RefToken t);
00047
void initialize(
ANTLR_USE_NAMESPACE(std)istream& infile);
00048
00049
void setText(
const ANTLR_USE_NAMESPACE(std)string&
text);
00050
void setType(
int ttype);
00051
ANTLR_USE_NAMESPACE(std)string toString()
const;
00052
ANTLR_USE_NAMESPACE(std)string toStringList()
const;
00053
ANTLR_USE_NAMESPACE(std)string toStringTree()
const;
00054
00055
bool attributesToStream(
ANTLR_USE_NAMESPACE(std)ostream &out )
const;
00056
void toStream(
ANTLR_USE_NAMESPACE(std)ostream &out )
const;
00057 };
00058
00059
#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00060
}
00061
#endif
00062
00063
#endif //INC_ASTNULLType_hpp__
This file is part of the documentation for KDevelop Version 3.0.4.