Documentation ¶
Overview ¶
Package gop provides all interfaces for implementing a Go+ package from existed Go packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Directories ¶
Path | Synopsis |
---|---|
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. |
Package cl compiles Go+ syntax trees (ast) into a backend code.
|
Package cl compiles Go+ syntax trees (ast) into a backend code. |
cmd
|
|
internal/base
Package base defines shared basic pieces of the gop command, in particular logging and the Command structure.
|
Package base defines shared basic pieces of the gop command, in particular logging and the Command structure. |
internal/export
Package export implements the “gop export” command.
|
Package export implements the “gop export” command. |
internal/export/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/gengo
Package gengo implements the “gop go” command.
|
Package gengo implements the “gop go” command. |
internal/gopfmt
Package gopfmt implements the “gop fmt” command.
|
Package gopfmt implements the “gop fmt” command. |
internal/help
Package help implements the “go help” command.
|
Package help implements the “go help” command. |
internal/repl
Package repl implements the “gop repl” command.
|
Package repl implements the “gop repl” command. |
internal/run
Package run implements the “gop run” command.
|
Package run implements the “gop run” command. |
Package constant implements Values representing untyped Go+ constants and their corresponding operations.
|
Package constant implements Values representing untyped Go+ constants and their corresponding operations. |
exec
|
|
bytecode
Package bytecode implements a bytecode backend for the Go+ language.
|
Package bytecode implements a bytecode backend for the Go+ language. |
golang
Package golang implements a golang backend for Go+ to generate Go code.
|
Package golang implements a golang backend for Go+ to generate Go code. |
golang/internal/go/format
Package format implements standard formatting of Go source.
|
Package format implements standard formatting of Go source. |
golang/internal/go/printer
Package printer implements printing of AST nodes.
|
Package printer implements printing of AST nodes. |
Package exec defines the specification of a Go+ backend.
|
Package exec defines the specification of a Go+ backend. |
Package format implements standard formatting of Go+ source.
|
Package format implements standard formatting of Go+ source. |
builtin
Package builtin provide Go+ builtin stuffs, including builtin constants, types and functions.
|
Package builtin provide Go+ builtin stuffs, including builtin constants, types and functions. |
bytes
Package bytes provide Go+ "bytes" package, as "bytes" package in Go.
|
Package bytes provide Go+ "bytes" package, as "bytes" package in Go. |
flag
Package flag provide Go+ "flag" package, as "flag" package in Go.
|
Package flag provide Go+ "flag" package, as "flag" package in Go. |
fmt
Package fmt provide Go+ "fmt" package, as "fmt" package in Go.
|
Package fmt provide Go+ "fmt" package, as "fmt" package in Go. |
github.com/goplus/gop/ast/gopq
Package gopq provide Go+ "github.com/goplus/gop/ast/gopq" package, as "github.com/goplus/gop/ast/gopq" package in Go.
|
Package gopq provide Go+ "github.com/goplus/gop/ast/gopq" package, as "github.com/goplus/gop/ast/gopq" package in Go. |
github.com/goplus/gop/ast/goptest
Package goptest provide Go+ "github.com/goplus/gop/ast/goptest" package, as "github.com/goplus/gop/ast/goptest" package in Go.
|
Package goptest provide Go+ "github.com/goplus/gop/ast/goptest" package, as "github.com/goplus/gop/ast/goptest" package in Go. |
io
Package io provide Go+ "io" package, as "io" package in Go.
|
Package io provide Go+ "io" package, as "io" package in Go. |
io/ioutil
Package ioutil provide Go+ "io/ioutil" package, as "io/ioutil" package in Go.
|
Package ioutil provide Go+ "io/ioutil" package, as "io/ioutil" package in Go. |
log
Package log provide Go+ "log" package, as "log" package in Go.
|
Package log provide Go+ "log" package, as "log" package in Go. |
os
Package os provide Go+ "os" package, as "os" package in Go.
|
Package os provide Go+ "os" package, as "os" package in Go. |
reflect
Package reflect provide Go+ "reflect" package, as "reflect" package in Go.
|
Package reflect provide Go+ "reflect" package, as "reflect" package in Go. |
strconv
Package strconv provide Go+ "strconv" package, as "strconv" package in Go.
|
Package strconv provide Go+ "strconv" package, as "strconv" package in Go. |
strings
Package strings provide Go+ "strings" package, as "strings" package in Go.
|
Package strings provide Go+ "strings" package, as "strings" package in Go. |
sync
Package sync provide Go+ "sync" package, as "sync" package in Go.
|
Package sync provide Go+ "sync" package, as "sync" package in Go. |
sync/atomic
Package atomic provide Go+ "sync/atomic" package, as "sync/atomic" package in Go.
|
Package atomic provide Go+ "sync/atomic" package, as "sync/atomic" package in Go. |
time
Package time provide Go+ "time" package, as "time" package in Go.
|
Package time provide Go+ "time" package, as "time" package in Go. |
mod
|
|
semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
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 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). |
tutorial
|
|
Package xtypes provides `go/types` extended utilities.
|
Package xtypes provides `go/types` extended utilities. |
Click to show internal directories.
Click to hide internal directories.