use v6.d;
unit module Tok;

role Token is export {}
role EOF does Token is export {}
role WS does Token is export {}
role Dot does Token is export {}
role Colon does Token is export {}
role Hash does Token is export {}
role SingleQuote does Token is export {}
role DoubleQuote does Token is export {}
role Dash does Token is export {}
role Bar does Token is export {}
role Comma does Token is export {}
role LeftBrace does Token is export {}
role RightBrace does Token is export {}
role LeftSquare does Token is export {}
role RightSquare does Token is export {}
role LeftParen does Token is export {}
role RightParen does Token is export {}
role DotHash does Token is export {}
role DotLBrace does Token is export {}
role DotRBrace does Token is export {}
role Ident[Str \ident] does Token is export {
    has Str $.ident = ident;
}
role Number[Int \i] does Token is export {
    has Int $.i = i;
}
role Decimal[Rat \d] does Token is export {
    has Rat $.d = d;
}