annotator

package
v0.0.0-...-3cc16ec Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: BSD-2-Clause Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Complete

func Complete(scope *ast.Scope) error

func Cut

func Cut(scope *ast.Scope) error

Cut removes (probably) unnecessary relations preserving longest path.

func Filter

func Filter(scope *ast.Scope, regexString string, whitelistString string) error

Filter removes nodes matched to `regexString`.

func Oracle

func Oracle(pkg *ast.Package, scopes ...string) error

Oracle annotates `pkg` using go.tools/oracle interface implements detector. It uses `scopes` as analysis scope. If `scopes` is none of one of `scopes` is zero string, it uses unit tests as scope.

Types

This section is empty.

Jump to

Keyboard shortcuts

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