fromgo

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeepFuncBody = 1 << iota
	KeepCgo
)

Variables

This section is empty.

Functions

func ASTFile

func ASTFile(f *ast.File, mode int) *gopast.File

ASTFile converts a Go ast.File into a Go+ ast.File object.

func CheckIdent added in v1.1.9

func CheckIdent(v *gopast.Ident) (id *ast.Ident, ok bool)

CheckIdent checks if a Go+ ast.Ident is converted from a Go ast.Ident or not. If it is, CheckIdent returns the original Go ast.Ident object.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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