func Parse(src []byte) (*ast.File, error)
Parse returns the fully parsed source and returns the abstract syntax tree.
type Parser struct {
// contains filtered or unexported fields
}
func (p *Parser) Parse() (*ast.File, error)
Parse returns the fully parsed source and returns the abstract syntax tree.