Versions in this module Expand all Collapse all v0 v0.0.1 Dec 28, 2020 Changes in this version + type Position struct + Col int + Line int + Offset int64 + func (p Position) String() string + type Token interface + Is func(Type) bool + Length func() int + Pos func() Position + Types func() []Type + Value func() string + func New(value string, pos Position, types ...Type) Token + type Type uint8 + const And + const Assign + const BinaryOperator + const BracketLeft + const BracketRight + const Break + const Colon + const Comma + const CurlyLeft + const CurlyRight + const Do + const Dot + const DoubleDot + const Ellipsis + const Else + const Elseif + const End + const Error + const False + const For + const Function + const If + const In + const Local + const Name + const Nil + const Not + const Number + const Or + const ParLeft + const ParRight + const Repeat + const Return + const SemiColon + const String + const Then + const True + const TypeUnknown + const UnaryOperator + const Until + const While + func (i Type) String() string v0.0.1-interp Dec 28, 2020