Versions in this module Expand all Collapse all v0 v0.2.0 Jun 8, 2023 v0.1.0 Feb 13, 2022 v0.0.3 Dec 5, 2018 v0.0.1 Aug 5, 2018 v0.0.0 Aug 1, 2018 Changes in this version + const AND + const ANDEQ + const AS + const ASSERT + const BREAK + const CLASS + const CONTINUE + const DEDENT + const DEF + const DEL + const DIVDIV + const DIVDIVEQ + const DIVEQ + const ELIF + const ELIPSIS + const ELSE + const ENDMARKER + const EQEQ + const EVAL_INPUT + const EXCEPT + const FALSE + const FILE_INPUT + const FINALLY + const FOR + const FROM + const GLOBAL + const GTEQ + const GTGT + const GTGTEQ + const HATEQ + const IF + const IMPORT + const IN + const INDENT + const IS + const LAMBDA + const LTEQ + const LTGT + const LTLT + const LTLTEQ + const MINUSEQ + const MINUSGT + const NAME + const NEWLINE + const NONE + const NONLOCAL + const NOT + const NUMBER + const OR + const PASS + const PERCEQ + const PIPEEQ + const PLINGEQ + const PLUSEQ + const RAISE + const RETURN + const SINGLE_INPUT + const STAREQ + const STARSTAR + const STARSTAREQ + const STRING + const TRUE + const TRY + const WHILE + const WITH + const YIELD + func DecodeEscape(in *bytes.Buffer, byteMode bool) (out *bytes.Buffer, err error) + func NewLex(r io.Reader, filename string, mode string) (*yyLex, error) + func Parse(in io.Reader, filename string, mode string) (mod ast.Mod, err error) + func ParseString(in string, mode string) (ast.Ast, error) + func SetDebug(level int) + type LexToken struct + func (lt *LexToken) String() string + type LexTokens []LexToken + func Lex(in io.Reader, filename string, mode string) (lts LexTokens, err error) + func LexString(in string, mode string) (lts LexTokens, err error) + func (as LexTokens) Eq(bs []LexToken) bool + func (lts LexTokens) String() string