Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IllegalPrefixes (0.2 sec)

  1. src/go/doc/synopsis.go

    func Synopsis(text string) string {
    	var p Package
    	return p.Synopsis(text)
    }
    
    // IllegalPrefixes is a list of lower-case prefixes that identify
    // a comment as not being a doc comment.
    // This helps to avoid misinterpreting the common mistake
    // of a copyright notice immediately before a package statement
    // as being a doc comment.
    var IllegalPrefixes = []string{
    	"copyright",
    	"all rights",
    	"author",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Func.Decl", Field, 0},
    		{"Func.Doc", Field, 0},
    		{"Func.Examples", Field, 14},
    		{"Func.Level", Field, 0},
    		{"Func.Name", Field, 0},
    		{"Func.Orig", Field, 0},
    		{"Func.Recv", Field, 0},
    		{"IllegalPrefixes", Var, 1},
    		{"IsPredeclared", Func, 8},
    		{"Mode", Type, 0},
    		{"New", Func, 0},
    		{"NewFromFiles", Func, 14},
    		{"Note", Type, 1},
    		{"Note.Body", Field, 1},
    		{"Note.End", Field, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top