A token obtained from the Lexer. More...
#include <Token.h>
Public Member Functions | |
Token (const std::string &, const SourceRange &) | |
Token (const char *begin, size_t len, const SourceRange &) | |
size_t | length () const |
operator std::string () const | |
std::string | str () const override |
void | PrettyPrint (Bytestream &, size_t indent=0) const override |
Print a human-readable representation to an output stream and return that output stream. | |
Public Member Functions inherited from fabrique::HasSource | |
HasSource (const SourceRange &src) | |
const SourceRange & | source () const |
Public Member Functions inherited from fabrique::Printable | |
Printable (const Printable &) | |
Printable & | operator= (const Printable &) |