MCPcopy Create free account

hub / github.com/goccy/go-yaml / functions

Functions1,184 in github.com/goccy/go-yaml

↓ 2 callersFunctionAlias
(tk *token.Token)
ast/ast.go:484
↓ 2 callersFunctionAlias
Alias create token for Alias
token/token.go:1017
↓ 2 callersFunctionAnchor
Anchor create token for Anchor
token/token.go:1005
↓ 2 callersMethodAnnotateSource
AnnotateSource add annotation to passed source ( see section 5.1 in README.md ).
path.go:374
↓ 2 callersFunctionBool
Bool create node for boolean value
ast/ast.go:340
↓ 2 callersMethodClose
Close closes the encoder by writing any remaining data. It does not write a stream terminating string "...".
encode.go:75
↓ 2 callersFunctionCollectEntry
CollectEntry create token for CollectEntry
token/token.go:933
↓ 2 callersFunctionCreateGroupedTokens
(tokens token.Tokens)
parser/token.go:204
↓ 2 callersMethodDecodeContext
DecodeContext reads the next YAML-encoded value from its input and stores it in the value pointed to by v with context.Context.
decode.go:1993
↓ 2 callersFunctionDirective
Directive create token for Directive
token/token.go:1093
↓ 2 callersFunctionDocumentEnd
DocumentEnd create token for DocumentEnd
token/token.go:1141
↓ 2 callersFunctionDocumentHeader
DocumentHeader create token for DocumentHeader
token/token.go:1129
↓ 2 callersFunctionDoubleQuote
DoubleQuote create token for DoubleQuote
token/token.go:1081
↓ 2 callersMethodEncodeContext
EncodeContext writes the YAML encoding of v to the stream with context.Context.
encode.go:90
↓ 2 callersMethodEncodeToNodeContext
EncodeToNodeContext convert v to ast.Node with context.Context.
encode.go:115
↓ 2 callersFunctionErrOverflow
ErrOverflow creates an overflow error instance with message and a token.
internal/errors/error.go:83
↓ 2 callersFunctionErrUnsupportedFootPositionType
(node ast.Node)
error.go:40
↓ 2 callersFunctionErrUnsupportedHeadPositionType
(node ast.Node)
error.go:32
↓ 2 callersFunctionErrUnsupportedLinePositionType
(node ast.Node)
error.go:36
↓ 2 callersFunctionFilter
Filter returns a list of nodes that match the given type.
ast/ast.go:2327
↓ 2 callersMethodFilterNode
FilterNode filter from node by YAMLPath.
path.go:277
↓ 2 callersFunctionFloat
Float create node for float value
ast/ast.go:363
↓ 2 callersFunctionFolded
Folded create token for Folded
token/token.go:1057
↓ 2 callersFunctionFormatNodeWithResolvedAlias
(n ast.Node, anchorNodeMap map[string]ast.Node)
internal/format/format.go:10
↓ 2 callersMethodInvalidToken
()
token/token.go:847
↓ 2 callersMethodIsZero
()
encode.go:735
↓ 2 callersFunctionLiteral
Literal create token for Literal
token/token.go:1045
↓ 2 callersFunctionLiteralBlockHeader
LiteralBlockHeader detect literal block scalar header
token/token.go:718
↓ 2 callersFunctionMappingEnd
MappingEnd create token for MappingEnd
token/token.go:981
↓ 2 callersFunctionMappingKey
MappingKey create token for MappingKey
token/token.go:909
↓ 2 callersFunctionMappingStart
MappingStart create token for MappingStart
token/token.go:969
↓ 2 callersFunctionMappingValue
MappingValue create token for MappingValue
token/token.go:921
↓ 2 callersFunctionMarshal
Marshal serializes the value provided into a YAML document. The structure of the generated document will reflect the structure of the value itself. Ma
yaml.go:144
↓ 2 callersFunctionMarshalWithOptions
MarshalWithOptions serializes the value provided into a YAML document with EncodeOptions.
yaml.go:149
↓ 2 callersFunctionMerge
Merge merge document, map, sequence node.
ast/ast.go:2354
↓ 2 callersMethodMerge
Merge merge key/value of map.
ast/ast.go:1199
↓ 2 callersMethodMergeFromFile
MergeFromFile merge ast.File into ast.File.
path.go:305
↓ 2 callersFunctionMergeKey
MergeKey create node for merge key ( << )
ast/ast.go:430
↓ 2 callersFunctionMergeKey
MergeKey create token for MergeKey
token/token.go:1117
↓ 2 callersFunctionNan
Nan create node for .nan value
ast/ast.go:394
↓ 2 callersFunctionNewDecoder
NewDecoder returns a new decoder that reads from r.
decode.go:53
↓ 2 callersFunctionNewEncoder
NewEncoder returns a new encoder that writes to w. The Encoder should be closed after use to flush all data to w.
encode.go:58
↓ 2 callersFunctionNull
Null create node for null value
ast/ast.go:332
↓ 2 callersMethodReplaceWithFile
ReplaceWithFile replace ast.File with ast.File.
path.go:347
↓ 2 callersMethodReplaceWithNode
ReplaceNode replace ast.File with ast.Node.
path.go:357
↓ 2 callersFunctionSequenceEnd
SequenceEnd create token for SequenceEnd
token/token.go:957
↓ 2 callersFunctionSequenceEntry
SequenceEntry creates SequenceEntryNode instance.
ast/ast.go:1754
↓ 2 callersFunctionSequenceEntry
SequenceEntry create token for SequenceEntry
token/token.go:897
↓ 2 callersFunctionSequenceStart
SequenceStart create token for SequenceStart
token/token.go:945
↓ 2 callersFunctionSingleQuote
SingleQuote create token for SingleQuote
token/token.go:1069
↓ 2 callersFunctionUnmarshal
Unmarshal decodes the first document found within the in byte slice and assigns decoded values into the out value. Struct fields are only unmarshalle
yaml.go:194
↓ 2 callersFunctionUseOrderedMap
UseOrderedMap can be interpreted as a map, and uses MapSlice ( ordered map ) aggressively if there is no type specification
option.go:91
↓ 2 callersMethodYAMLName
String node type identifier to YAML Structure name based on https://yaml.org/spec/1.2/spec.html
ast/ast.go:123
↓ 2 callersFunctionYAMLToJSON
YAMLToJSON convert YAML bytes to JSON.
yaml.go:241
↓ 2 callersMethodaddBufWithTab
(r rune)
scanner/context.go:282
↓ 2 callersMethodaddIndent
(ctx *Context, column int)
scanner/context.go:192
↓ 2 callersMethodaddNullValueToken
(tk *Token)
parser/context.go:130
↓ 2 callersMethodbreakMultiLine
(ctx *Context)
scanner/scanner.go:210
↓ 2 callersMethodbufferedToken
(ctx *Context)
scanner/scanner.go:67
↓ 2 callersMethodcanDecodeByUnmarshaler
(dst reflect.Value)
decode.go:743
↓ 2 callersMethodcastToTime
(ctx context.Context, src ast.Node)
decode.go:1228
↓ 2 callersFunctioncheckLineBreak
(t *token.Token)
ast/ast.go:288
↓ 2 callersMethodclearState
()
scanner/scanner.go:1509
↓ 2 callersFunctioncolorize
(idx int, content string)
parser/color.go:24
↓ 2 callersMethodcurrentChar
()
scanner/context.go:332
↓ 2 callersMethoddecodeByUnmarshaler
(ctx context.Context, dst reflect.Value, src ast.Node)
decode.go:766
↓ 2 callersMethoddecodeInit
(ctx context.Context)
decode.go:1937
↓ 2 callersMethoddump
(ctx *groupTokenRenderContext)
parser/token.go:135
↓ 2 callersMethodencodeAnchor
(anchorName string, value ast.Node, fieldValue reflect.Value, column int)
encode.go:855
↓ 2 callersMethodencodeFloat
(v float64, bitSize int)
encode.go:541
↓ 2 callersMethodencodeMapItem
(ctx context.Context, item MapItem, column int)
encode.go:640
↓ 2 callersFunctionescapeSingleQuote
escapeSingleQuote escapes s to a single quoted scalar. https://yaml.org/spec/1.2.2/#732-single-quoted-style
ast/ast.go:798
↓ 2 callersMethodformat
(n ast.Node)
internal/format/format.go:266
↓ 2 callersMethodformatDocument
(n *ast.DocumentNode)
internal/format/format.go:296
↓ 2 callersMethodformatMappingValue
(n *ast.MappingValueNode)
internal/format/format.go:336
↓ 2 callersMethodfoundDocumentSeparatorMarker
(src []rune)
scanner/scanner.go:603
↓ 2 callersFunctiongetAnchorMap
(ctx context.Context)
context.go:31
↓ 2 callersMethodgetArrayNode
(node ast.Node)
decode.go:585
↓ 2 callersMethodgetMultiLineState
()
scanner/context.go:88
↓ 2 callersFunctiongetTag
(field reflect.StructField)
struct.go:28
↓ 2 callersFunctiongroupedTokenToComponent
(g: GroupedToken, groups: string[])
docs/playground/src/App.tsx:316
↓ 2 callersMethodhasKeepAllEndNewlineOpt
()
scanner/context.go:261
↓ 2 callersMethodhasTrimAllEndNewlineOpt
()
scanner/context.go:257
↓ 2 callersMethodinsertToken
(tk *Token)
parser/context.go:151
↓ 2 callersMethodisChangedToIndentStateDown
()
scanner/scanner.go:198
↓ 2 callersMethodisEOS
()
scanner/context.go:309
↓ 2 callersMethodisFlowMapDelim
(tk *Token)
parser/parser.go:438
↓ 2 callersMethodisFlowMode
()
scanner/scanner.go:899
↓ 2 callersMethodisIncludedRenderName
(name string)
struct.go:94
↓ 2 callersMethodisIndentColumn
(column int)
scanner/context.go:185
↓ 2 callersMethodisInitialized
()
decode.go:1933
↓ 2 callersMethodisInvalidValue
(v reflect.Value)
encode.go:273
↓ 2 callersMethodisTagAndMapNode
(node ast.Node)
encode.go:677
↓ 2 callersMethodisYAMLFile
(file string)
decode.go:1808
↓ 2 callersMethodkeyToNodeMap
(ctx context.Context, node ast.Node, ignoreMergeKey bool, getKeyOrValueNode func(*ast.MapNodeIter) ast.Node)
decode.go:1125
↓ 2 callersMethodmsg
()
internal/errors/error.go:156
↓ 2 callersMethodmsg
()
internal/errors/error.go:160
↓ 2 callersMethodmsg
()
internal/errors/error.go:231
↓ 2 callersFunctionnewBoolNode
(ctx *context, tk *Token)
parser/node.go:96
↓ 2 callersFunctionnewFloatNode
(ctx *context, tk *Token)
parser/node.go:114
← previousnext →201–300 of 1,184, ranked by callers