Commit 6bf1e262 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Added getters.

parent 0b277f2f
......@@ -283,6 +283,14 @@ public:
const char *spell() const;
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
{ return offset; }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment