QCOR
token_collector.hpp
1 #ifndef QCOR_HANDLERS_TOKENCOLLECTOR_HPP_
2 #define QCOR_HANDLERS_TOKENCOLLECTOR_HPP_
3 
4 #include "Identifiable.hpp"
5 #include "clang/Parse/Parser.h"
6 #include <sstream>
7 
8 namespace qcor {
9 class TokenCollector : public xacc::Identifiable {
10 public:
11  virtual void collect(clang::Preprocessor &PP, clang::CachedTokens &Toks,
12  std::vector<std::string> bufferNames,
13  std::stringstream &ss,
14  const std::string &kernel_name = "") = 0;
15 };
16 
17 } // namespace qcor
18 
19 #endif
qcor
Definition: qcor_syntax_handler.cpp:15
qcor::TokenCollector
Definition: token_collector.hpp:9