gopkg.in/yaml.v2.yaml_emitter_t.simple_key_context (field)
8 uses
gopkg.in/yaml.v2 (current package)
emitterc.go#L655: emitter.simple_key_context = simple_key
emitterc.go#L812: if emitter.simple_key_context && emitter.scalar_data.multiline {
emitterc.go#L821: if len(emitter.scalar_data.value) == 0 && (emitter.flow_level > 0 || emitter.simple_key_context) {
emitterc.go#L834: if !emitter.scalar_data.block_allowed || emitter.flow_level > 0 || emitter.simple_key_context {
emitterc.go#L894: return yaml_emitter_write_plain_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
emitterc.go#L897: return yaml_emitter_write_single_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
emitterc.go#L900: return yaml_emitter_write_double_quoted_scalar(emitter, emitter.scalar_data.value, !emitter.simple_key_context)
yamlh.go#L693: simple_key_context bool // Is it a simple mapping key context?
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |