- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for BlankBetween (0.35 sec)
-
src/go/doc/comment/html.go
if n != next { out.WriteString(` value="`) out.WriteString(n) out.WriteString(`"`) next = n } next = inc(next) } out.WriteString(">") p.tight = !x.BlankBetween() for _, blk := range item.Content { p.block(out, blk) } p.tight = false } out.WriteString("</") out.WriteString(kind) } } // inc increments the decimal string s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 3.5K bytes - Viewed (0) -
src/go/doc/comment/markdown.go
var line string line, md, _ = strings.Cut(md, "\n") if line != "" { out.WriteString("\t") out.WriteString(line) } out.WriteString("\n") } case *List: loose := x.BlankBetween() for i, item := range x.Items { if i > 0 && loose { out.WriteString("\n") } if n := item.Number; n != "" { out.WriteString(" ") out.WriteString(n) out.WriteString(". ")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 4.4K bytes - Viewed (0) -
src/go/doc/comment/parse.go
// The default rule is the same as for [BlankBetween]: // if the list item content contains any blank lines // (meaning at least one item has multiple paragraphs) // then the list itself must be preceded by a blank line. // A preceding blank line can be forced by setting [List].ForceBlankBefore. func (l *List) BlankBefore() bool { return l.ForceBlankBefore || l.BlankBetween() } // BlankBetween reports whether a reformatting of the comment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 33.5K bytes - Viewed (0) -
src/go/doc/comment/print.go
var line string line, md, _ = strings.Cut(md, "\n") if line != "" { out.WriteString("\t") out.WriteString(line) } out.WriteString("\n") } case *List: loose := x.BlankBetween() for i, item := range x.Items { if i > 0 && loose { out.WriteString("\n") } out.WriteString(" ") if item.Number == "" { out.WriteString(" - ") } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.6K bytes - Viewed (0) -
src/go/doc/comment/text.go
var line string line, text, _ = strings.Cut(text, "\n") if line != "" { out.WriteString(p.codePrefix) out.WriteString(line) } writeNL(out) } case *List: loose := x.BlankBetween() for i, item := range x.Items { if i > 0 && loose { out.WriteString(p.prefix) writeNL(out) } out.WriteString(p.prefix) out.WriteString(" ") if item.Number == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 8.8K bytes - Viewed (0) -
api/go1.19.txt
pkg go/doc/comment, method (*DocLink) DefaultURL(string) string #51082 pkg go/doc/comment, method (*Heading) DefaultID() string #51082 pkg go/doc/comment, method (*List) BlankBefore() bool #51082 pkg go/doc/comment, method (*List) BlankBetween() bool #51082 pkg go/doc/comment, method (*Parser) Parse(string) *Doc #51082 pkg go/doc/comment, method (*Printer) Comment(*Doc) []uint8 #51082 pkg go/doc/comment, method (*Printer) HTML(*Doc) []uint8 #51082
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 17.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Value.Names", Field, 0}, }, "go/doc/comment": { {"(*DocLink).DefaultURL", Method, 19}, {"(*Heading).DefaultID", Method, 19}, {"(*List).BlankBefore", Method, 19}, {"(*List).BlankBetween", Method, 19}, {"(*Parser).Parse", Method, 19}, {"(*Printer).Comment", Method, 19}, {"(*Printer).HTML", Method, 19}, {"(*Printer).Markdown", Method, 19}, {"(*Printer).Text", Method, 19},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)