blob: efd0e852c9bcd460779a174e52bf3a3cee4a0a54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// file : odb/cxx-token.hxx
// author : Boris Kolpackov <boris@codesynthesis.com>
// copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
// license : GNU GPL v3; see accompanying LICENSE file
#ifndef ODB_CXX_TOKEN_HXX
#define ODB_CXX_TOKEN_HXX
#include <string>
#include <vector>
struct cxx_token
{
unsigned int type; // Untyped cpp_ttype.
std::string literal; // Only used for name, string, number, etc.
};
typedef std::vector<cxx_token> cxx_tokens;
#endif // ODB_CXX_TOKEN_HXX
|