Parse free functions

This commit is contained in:
Jonathan Müller 2017-03-11 18:08:06 +01:00
commit 9267bbbff2
15 changed files with 442 additions and 58 deletions

View file

@ -124,11 +124,21 @@ namespace cppast
return cursor_;
}
token_iterator begin() const noexcept
{
return begin_;
}
token_iterator cur() const noexcept
{
return cur_;
}
token_iterator end() const noexcept
{
return end_;
}
void set_cur(token_iterator iter) noexcept
{
cur_ = iter;