2013-07-31 19:01:10 -06:00
|
|
|
QUERY
|
|
|
|
{{.Query}}
|
|
|
|
|
|
|
|
{{with .Alert}}{{.}}
|
|
|
|
{{end}}{{/* .Alert */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Alt}}DID YOU MEAN
|
|
|
|
|
|
|
|
{{range .Alts}} {{.}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}{{/* .Alt */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Pak}}PACKAGE {{$.Query}}
|
|
|
|
|
|
|
|
{{range .}} {{pkgLink .Pak.Path}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}{{/* .Pak */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
2013-11-21 09:55:42 -07:00
|
|
|
*/}}{{range $key, $val := .Idents}}{{if $val}}{{$key.Name}}
|
|
|
|
{{range $val.Idents}} {{.Path}}.{{.Name}}
|
|
|
|
{{end}}
|
|
|
|
{{end}}{{end}}{{/* .Idents */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
2013-07-31 19:01:10 -06:00
|
|
|
*/}}{{with .Hit}}{{with .Decls}}PACKAGE-LEVEL DECLARATIONS
|
|
|
|
|
|
|
|
{{range .}}package {{.Pak.Name}}
|
|
|
|
{{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}}{{end}}
|
|
|
|
{{end}}{{end}}{{/* .Files */}}
|
|
|
|
{{end}}{{end}}{{/* .Decls */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Others}}LOCAL DECLARATIONS AND USES
|
|
|
|
|
|
|
|
{{range .}}package {{.Pak.Name}}
|
|
|
|
{{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}}
|
|
|
|
{{end}}{{end}}{{end}}{{/* .Files */}}
|
|
|
|
{{end}}{{end}}{{/* .Others */}}{{end}}{{/* .Hit */}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{if .Textual}}{{if .Complete}}{{.Found}} TEXTUAL OCCURRENCES{{else}}MORE THAN {{.Found}} TEXTUAL OCCURRENCES{{end}}
|
|
|
|
|
|
|
|
{{range .Textual}}{{len .Lines}} {{srcLink .Filename}}
|
|
|
|
{{end}}{{if not .Complete}}... ...
|
|
|
|
{{end}}{{end}}
|