Add and use cpp_token_string for unexposed entities
This commit is contained in:
parent
e53fc5e231
commit
0672e85186
29 changed files with 789 additions and 481 deletions
|
|
@ -8,6 +8,8 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <cppast/cpp_token.hpp>
|
||||
|
||||
#include "raii_wrapper.hpp"
|
||||
|
||||
namespace cppast
|
||||
|
|
@ -190,8 +192,8 @@ namespace cppast
|
|||
// skips an attribute
|
||||
bool skip_attribute(token_stream& stream);
|
||||
|
||||
// converts a token range to a string, adding whitespace where necessary
|
||||
std::string to_string(token_stream& stream, token_iterator end);
|
||||
// converts a token range to a string
|
||||
cpp_token_string to_string(token_stream& stream, token_iterator end);
|
||||
|
||||
// appends token to scope, if it is still valid
|
||||
// else clears it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue