Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IllegalPrefixes (0.3 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)
  3. api/go1.1.txt

    pkg go/doc, type Note struct, End token.Pos
    pkg go/doc, type Note struct, Pos token.Pos
    pkg go/doc, type Note struct, UID string
    pkg go/doc, type Package struct, Notes map[string][]*Note
    pkg go/doc, var IllegalPrefixes []string
    pkg go/format, func Node(io.Writer, *token.FileSet, interface{}) error
    pkg go/format, func Source([]uint8) ([]uint8, error)
    pkg go/parser, const AllErrors = 32
    pkg go/parser, const AllErrors Mode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top