syntaxtree

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentFile string //nolint:gochecknoglobals
View Source
var Result map[string]FileResult //nolint:gochecknoglobals
View Source
var ShouldPrintAbstractSyntaxTree bool //nolint:gochecknoglobals
View Source
var TotalFileCount int //nolint:gochecknoglobals

Functions

func GetFileCount

func GetFileCount(path string, info os.FileInfo, err error) error

func ResetGlobals added in v1.0.0

func ResetGlobals(config utils.OperationMode)

func ScanDir

func ScanDir(path string, info os.FileInfo, err error) error

func WalkSyntaxTree

func WalkSyntaxTree(f *ast.File)

Types

type FileResult

type FileResult struct {
	ConstantSort     []string
	ScanResult       map[string]godmt.ScannedType
	StructScanResult map[string]godmt.ScannedStruct
	StructSort       []string
}

func GetOrderedFileItems

func GetOrderedFileItems(item FileResult) FileResult

Jump to

Keyboard shortcuts

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