Versions in this module Expand all Collapse all v0 v0.0.2 Oct 25, 2024 Changes in this version + func Parse(file *File) (*ast.File, error) + func ParseExpr(file *File) (ast.Expr, error) + func ParseStmt(file *File) (ast.Stmt, error) + func ParseTypeExpr(file *File) (ast.TypeExpr, error) + type Context int + const ENTRY + const EXPRESSION + const SEQUENCE + const STATEMENT + const TOP_LEVEL + const TYPE_EXPRESSION + func (c Context) String() string + type File struct + Name string + func NewFile(name string, r io.Reader) *File + type Parser struct + func New(file *File) *Parser + func (p *Parser) Parse() (*ast.File, error)