extgo

package module
v0.0.0-...-a2dbc2d Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

README

extgo

extension for golang

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	ast.Visitor
	Backprocessor(file *ast.File)
}

type Visitor

type Visitor struct {
	Visitor []ast.Visitor
	// contains filtered or unexported fields
}

func (*Visitor) Backprocessor

func (v *Visitor) Backprocessor(f *ast.File)

func (*Visitor) Register

func (v *Visitor) Register(visitor Plugin)

func (*Visitor) Visit

func (v *Visitor) Visit(node ast.Node) (w ast.Visitor)

Directories

Path Synopsis
go-parser
ast
Package ast declares the types used to represent syntax trees for Go packages.
Package ast declares the types used to represent syntax trees for Go packages.
build
Package build gathers information about Go packages.
Package build gathers information about Go packages.
build/constraint
Package constraint implements parsing and evaluation of build constraint lines.
Package constraint implements parsing and evaluation of build constraint lines.
constant
Package constant implements Values representing untyped Go constants and their corresponding operations.
Package constant implements Values representing untyped Go constants and their corresponding operations.
doc
Package doc extracts source code documentation from a Go AST.
Package doc extracts source code documentation from a Go AST.
format
Package format implements standard formatting of Go source.
Package format implements standard formatting of Go source.
importer
Package importer provides access to export data importers.
Package importer provides access to export data importers.
internal/gccgoimporter
Package gccgoimporter implements Import for gccgo-generated object files.
Package gccgoimporter implements Import for gccgo-generated object files.
internal/gcimporter
Package gcimporter implements Import for gc-generated object files.
Package gcimporter implements Import for gc-generated object files.
internal/srcimporter
Package srcimporter implements importing directly from source files rather than installed packages.
Package srcimporter implements importing directly from source files rather than installed packages.
internal/typeparams
Package typeparams provides functions to work with type parameter data stored in the AST, while these AST changes are guarded by a build constraint.
Package typeparams provides functions to work with type parameter data stored in the AST, while these AST changes are guarded by a build constraint.
parser
Package parser implements a parser for Go source files.
Package parser implements a parser for Go source files.
printer
Package printer implements printing of AST nodes.
Package printer implements printing of AST nodes.
scanner
Package scanner implements a scanner for Go source text.
Package scanner implements a scanner for Go source text.
token
Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
Package token defines constants representing the lexical tokens of the Go programming language and basic operations on tokens (printing, predicates).
types
Package types declares the data types and implements the algorithms for type-checking of Go packages.
Package types declares the data types and implements the algorithms for type-checking of Go packages.

Jump to

Keyboard shortcuts

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