Alias TriviaToken

Same as Token, but doesn't contain child TriviaTokens

alias TriviaToken = TokenStructure!(ubyte,"\x0a import dparse.lexer : Token;\x0a\x0a this(Token token) pure nothrow @safe @nogc {\x0a this(token.type, token.text, token.line, token.column, token.index);\x0a }\x0a\x0a int opCmp(size_t i) const pure nothrow @safe @nogc {\x0a if (index < i) return -1;\x0a if (index > i) return 1;\x0a return 0;\x0a }\x0a\x0a int opCmp(ref const typeof(this) other) const pure nothrow @safe @nogc {\x0a return opCmp(other.index);\x0a }\x0a\x0a string toString() const @safe pure\x0a {\x0a import std.array : appender;\x0a\x0a auto sink = appender!string;\x0a toString(sink);\x0a return sink.data;\x0a }\x0a\x0a void toString(R)(auto ref R sink) const\x0a {\x0a import std.conv : to;\x0a import dparse.lexer : str;\x0a\x0a sink.put(`trivia!"`);