Debian Codegraph @

parser/option.go

raw symbols SCIP
1 package parserscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/
2
3 // Option represents parser's option.
4 type Optionscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/Option# func(p *parserscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/parser#)
5
6 // AllowDuplicateMapKey allow the use of keys with the same name in the same map,
7 // but by default, this is not permitted.
8 func AllowDuplicateMapKeyscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/AllowDuplicateMapKey().() Optionscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/Option# {
9 return func(p *parserscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/parser#) {
10 p.allowDuplicateMapKeyscip-go gomod github.com/goccy/go-yaml . `github.com/goccy/go-yaml/parser`/parser#allowDuplicateMapKey. = true
11 }
12 }