go/

directory
v0.0.0-...-53c5426 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: Apache-2.0, BSD-3-Clause

README

Vendored copy of go1.5.1's standard library's go/... packages.

Q: Why did you do this awful vendoring?

A: We need to build under go 1.3 and go 1.4 (soon to be go 1.4 and go 1.5.1). A version of the go/types package existed for go 1.4, but it does not have the same interface as the go 1.5 package, and @lavalamp had much better luck with the 1.5.1 package anyway.

We will get rid of this as soon as there's a more standard way to do this, or when we roll over to supporting go 1.5 and go 1.6.

Note that the packages here were not very happy about being transplated like this and if you do a diff you will see the changes made to get everything to compile.

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 build gathers information about Go packages.
Package build gathers information about Go packages.
Package constant implements Values representing untyped Go constants and the corresponding operations.
Package constant implements Values representing untyped Go constants and the corresponding operations.
Package doc extracts source code documentation from a Go AST.
Package doc extracts source code documentation from a Go AST.
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).
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