Skip to content
Snippets Groups Projects
Commit 6bf1e262 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Added getters.

parent 0b277f2f
No related branches found
No related tags found
No related merge requests found
...@@ -283,6 +283,14 @@ public: ...@@ -283,6 +283,14 @@ public:
const char *spell() const; const char *spell() const;
void reset(); void reset();
inline unsigned kind() const { return f.kind; }
inline bool newline() const { return f.newline; }
inline bool whitespace() const { return f.whitespace; }
inline bool joined() const { return f.joined; }
inline bool expanded() const { return f.expanded; }
inline bool generated() const { return f.generated; }
inline unsigned length() const { return f.length; }
inline unsigned begin() const inline unsigned begin() const
{ return offset; } { return offset; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment