Versions in this module Expand all Collapse all v0 v0.5.0 Nov 10, 2023 Changes in this version + type ErrLogger interface + Errorf func(pos gotoken.Position, msg string, args ...any) + type Token struct + Pos gotoken.Pos + Str string + Type TokenType + type TokenType int + const ADD + const AND + const ARROW + const ASSIGN + const ASSIGN_ADD + const ASSIGN_DIV + const ASSIGN_MOD + const ASSIGN_MUL + const ASSIGN_SUB + const BACKTICK + const BREAK + const CATCH + const CBRACKET + const CCURLY + const CHAR + const COLON + const COMMA + const CONTINUE + const CPAREN + const DEC + const DEFER + const DIV + const ELSE + const EOF + const EQ + const ERROR + const EXEC_DQUOTE_LITERAL + const EXEC_HOME + const EXEC_LITERAL + const EXEC_PREFIX + const EXEC_SQUOTE_LITERAL + const EXEC_WS + const EXPAND + const FALSE + const FLAG + const FOR + const FUNC + const GE + const GT + const ID + const IF + const IMPORT + const INC + const INFO + const LAMBDA + const LE + const LT + const MOD + const MUL + const NE + const NEWLINE + const NIL + const NOT + const NUMBER + const OBRACKET + const OCURLY + const OPAREN + const OR + const PARAM + const PERIOD + const PIPE + const QUESTION_MARK + const REGEX + const RETURN + const SEMICOLON + const STRING + const SUB + const THROW + const TRUE + const TRY + const VAR + const WHILE + const YIELD + func (t TokenType) String() string