Versions in this module Expand all Collapse all v0 v0.0.1 Feb 26, 2023 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 py.CompileMode) (*yyLex, error) + func Parse(in io.Reader, filename string, mode py.CompileMode) (mod ast.Mod, err error) + func ParseString(in string, mode py.CompileMode) (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 py.CompileMode) (lts LexTokens, err error) + func LexString(in string, mode py.CompileMode) (lts LexTokens, err error) + func (as LexTokens) Eq(bs []LexToken) bool + func (lts LexTokens) String() string