Tokentype

Distinguish different lexical tokens for the Schematika language.

Context

_images/ditaa-9f2e8a479227ca0d9bc5aa185216f3653a47ff9a.png
#include <xo/tokenizer/tokentype.hpp>

Enum

char const *xo::scm::tokentype_descr(tokentype tk_type)

String representation for enum value. For example tokentype_descr(tokentype::tk_if) -> "if"

inline std::ostream &xo::scm::operator<<(std::ostream &os, tokentype tk_type)

Print enum value for tk_type on stream os