filehandler

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteASTToFile

func WriteASTToFile(parseInfo *ParseInfo) error

Types

type ParseInfo

type ParseInfo struct {
	OutputFile string
	Fset       *token.FileSet
	F          *ast.File
}

func ParseDir

func ParseDir(dirPath string) ([]*ParseInfo, error)

func ParseFile

func ParseFile(filePath string) (*ParseInfo, error)

Jump to

Keyboard shortcuts

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