Directories ¶
Path | Synopsis |
---|---|
3rdparty
|
|
cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
|
Package cli provides a minimal framework for creating and organizing command line Go applications. |
go-dap
Package dap contains data types and code for Debug Adapter Protocol (DAP) specification.
|
Package dap contains data types and code for Debug Adapter Protocol (DAP) specification. |
go-dap/cmd/gentypes
gentypes generates Go types from debugProtocol.json
|
gentypes generates Go types from debugProtocol.json |
gover
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1.
|
Package gover implements support for Go toolchain versions like 1.21.0 and 1.21rc1. |
toml
Package toml implements decoding and encoding of TOML files.
|
Package toml implements decoding and encoding of TOML files. |
wazero/api
Package api includes constants and interfaces used by both end-users and internal implementations.
|
Package api includes constants and interfaces used by both end-users and internal implementations. |
wazero/experimental
Package experimental includes features we aren't yet sure about.
|
Package experimental includes features we aren't yet sure about. |
wazero/imports/wasi_snapshot_preview1
Package wasi_snapshot_preview1 contains Go-defined functions to access system calls, such as opening a file, similar to Go's x/sys package.
|
Package wasi_snapshot_preview1 contains Go-defined functions to access system calls, such as opening a file, similar to Go's x/sys package. |
wazero/internalx/platform
Package platform includes runtime-specific code needed for the compiler or otherwise.
|
Package platform includes runtime-specific code needed for the compiler or otherwise. |
wazero/internalx/wasi_snapshot_preview1
Package wasi_snapshot_preview1 is an internal helper to remove package cycles re-using errno
|
Package wasi_snapshot_preview1 is an internal helper to remove package cycles re-using errno |
wazero/internalx/wasmdebug
Package wasmdebug contains utilities used to give consistent search keys between stack traces and error messages.
|
Package wasmdebug contains utilities used to give consistent search keys between stack traces and error messages. |
wazero/internalx/wasmruntime
Package wasmruntime contains internal symbols shared between modules for error handling.
|
Package wasmruntime contains internal symbols shared between modules for error handling. |
wazero/internalx/wazeroir
Package wazeroir is a pkg to compile down the standard Wasm binary to wazero's specific IR (wazeroir).
|
Package wazeroir is a pkg to compile down the standard Wasm binary to wazero's specific IR (wazeroir). |
wazero/sys
Package sys includes constants and types used by both public and internal APIs.
|
Package sys includes constants and types used by both public and internal APIs. |
app
|
|
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. |
astutil
Package astutil contains common utilities for working with the Go AST.
|
Package astutil contains common utilities for working with the Go AST. |
inspector
Package inspector provides helper functions for traversal over the syntax trees of a package, including node filtering by type, and materialization of the traversal stack.
|
Package inspector provides helper functions for traversal over the syntax trees of a package, including node filtering by type, and materialization of the traversal stack. |
backends
|
|
compiler_c/cir/ctypes
ctypes包定义C-IR的类型
|
ctypes包定义C-IR的类型 |
compiler_wat/wir/wat
WAT 文本格式的模块。
|
WAT 文本格式的模块。 |
Package constant implements Values representing untyped Go constants and their corresponding operations.
|
Package constant implements Values representing untyped Go constants and their corresponding operations. |
以不依赖CGO的方式加载不同平台的共享库.
|
以不依赖CGO的方式加载不同平台的共享库. |
Package format implements standard formatting of Go source.
|
Package format implements standard formatting of Go source. |
frontend
|
|
wz/parser
Package parser implements a parser for Go source files.
|
Package parser implements a parser for Go source files. |
wz/scanner
Package scanner implements a scanner for Go source text.
|
Package scanner implements a scanner for Go source text. |
wz/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). |
diff
Package diff computes differences between text files or strings.
|
Package diff computes differences between text files or strings. |
diff/lcs
package lcs contains code to find longest-common-subsequences (and diffs)
|
package lcs contains code to find longest-common-subsequences (and diffs) |
event
Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way.
|
Package event provides a set of packages that cover the main concepts of telemetry in an implementation agnostic way. |
event/core
Package core provides support for event based telemetry.
|
Package core provides support for event based telemetry. |
event/tag
Package tag provides the labels used for telemetry throughout gopls.
|
Package tag provides the labels used for telemetry throughout gopls. |
filecache
The filecache package provides a file-based shared durable blob cache.
|
The filecache package provides a file-based shared durable blob cache. |
jsonrpc2
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec.
|
Package jsonrpc2 is a minimal implementation of the JSON RPC 2 spec. |
protocol
Package protocol contains the structs that map directly to the request and response messages of the Language Server Protocol.
|
Package protocol contains the structs that map directly to the request and response messages of the Language Server Protocol. |
span
Package span contains support for representing with positions and ranges in text files.
|
Package span contains support for representing with positions and ranges in text files. |
util/lru
The lru package implements a fixed-size in-memory LRU cache.
|
The lru package implements a fixed-size in-memory LRU cache. |
util/safetoken
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking.
|
Package safetoken provides wrappers around methods in go/token, that return errors rather than panicking. |
xcontext
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package.
|
Package xcontext is a package to offer the extra functionality we need from contexts that is not available from the standard context package. |
Package parser implements a parser for Go source files.
|
Package parser implements a parser for Go source files. |
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
Package scanner implements a scanner for Go source text.
|
Package scanner implements a scanner for Go source text. |
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
|
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions. |
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). |
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. |
objectpath
Package objectpath defines a naming scheme for types.Objects (that is, named entities in Go programs) relative to their enclosing package.
|
Package objectpath defines a naming scheme for types.Objects (that is, named entities in Go programs) relative to their enclosing package. |
typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
|
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
wat
|
|
token
wat记号类型
|
wat记号类型 |
Click to show internal directories.
Click to hide internal directories.