diff --git a/src/shared/cplusplus/Token.h b/src/shared/cplusplus/Token.h index 8bafc446875c31a3a62990cda1d385e292509d0e..fe984c8c040dc0aaa2fef68b1903e9baedfe75a5 100644 --- a/src/shared/cplusplus/Token.h +++ b/src/shared/cplusplus/Token.h @@ -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; }