goparse

package
v1.0.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMissingPackage

func AddMissingPackage(code string, pkgName string) string

func Parse

func Parse(file string) (code []byte, ast *ast.File, fset *token.FileSet, err error)

func ParseFileCode

func ParseFileCode(file string, code []byte) (ast *ast.File, fset *token.FileSet, err error)

file is optional

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL