golang

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XGoPackage = "github.com/goplus/xgo/dql/golang"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object = *golang.File

Object represents a Go File.

func New

func New(text string, mode ...parser.Mode) (f Object, err error)

New parses Go source code from the given text, returning a Go File object. An optional parser Mode can be provided to customize the parsing behavior.

Jump to

Keyboard shortcuts

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