MCPcopy Create free account

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

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

↓ 6 callersMethoddecode
(ctx context.Context, v reflect.Value)
decode.go:1955
↓ 6 callersMethodfilter
(ast.Node)
path.go:461
↓ 6 callersMethodinsertNullToken
(tk *Token)
parser/context.go:122
↓ 6 callersMethodparse
(ctx context.Context, bytes []byte)
decode.go:1900
↓ 6 callersMethodparseAnchor
(ctx *context, g *TokenGroup)
parser/parser.go:846
↓ 6 callersMethodvalidateDuplicateKey
(keyMap map[string]struct{}, key interface{}, keyNode ast.Node)
decode.go:1655
↓ 5 callersMethodClone
Clone copy token ( preserve Prev/Next reference )
token/token.go:824
↓ 5 callersFunctionMapping
Mapping create node for map
ast/ast.go:438
↓ 5 callersMethodRead
Read decode from r and set extracted value by YAMLPath to v.
path.go:215
↓ 5 callersFunctionString
String create token for String
token/token.go:885
↓ 5 callersFunctionWalk
Walk traverses an AST in depth-first order: It starts by calling v.Visit(node); node must not be nil. If the visitor w returned by v.Visit(node) is no
ast/ast.go:2161
↓ 5 callersMethodaddCommentToMap
(path string, comment *Comment)
decode.go:332
↓ 5 callersMethoddecodeValue
(ctx context.Context, dst reflect.Value, src ast.Node)
decode.go:893
↓ 5 callersMethodencodeString
(v string, column int)
encode.go:590
↓ 5 callersFunctionisIgnoredStructField
(field reflect.StructField)
struct.go:84
↓ 5 callersMethodisMultiLine
()
scanner/context.go:366
↓ 5 callersMethodlastToken
()
scanner/context.go:447
↓ 5 callersMethodmapKeyText
(n ast.Node)
parser/parser.go:704
↓ 5 callersFunctionnewMappingValueNode
(ctx *context, colonTk, entryTk *Token, key ast.MapKeyNode, value ast.Node)
parser/node.go:17
↓ 5 callersMethodnextChar
()
scanner/context.go:339
↓ 5 callersMethodreplace
(ast.Node, ast.Node)
path.go:462
↓ 5 callersFunctionreservedKeywordToken
(typ Type, value, org string, pos *Position)
token/token.go:344
↓ 5 callersMethodsource
(s, e int)
scanner/context.go:321
↓ 5 callersMethodwithChild
(path string)
parser/context.go:85
↓ 4 callersFunctionAnchor
(tk *token.Token)
ast/ast.go:477
↓ 4 callersFunctionComment
Comment create token for Comment
token/token.go:993
↓ 4 callersFunctionCommentGroup
(comments []*token.Token)
ast/ast.go:418
↓ 4 callersMethodDecodeFromNode
DecodeFromNode decodes node into the value pointed to by v.
decode.go:2014
↓ 4 callersMethodEquals
(o *dynamicField)
yaml_test.go:379
↓ 4 callersMethodError
()
scanner/error.go:9
↓ 4 callersMethodIndexAll
IndexAll add '[*]' to current path.
path.go:400
↓ 4 callersFunctionInteger
Integer create node for integer value
ast/ast.go:350
↓ 4 callersMethodKeyValue
KeyValue returns the MappingValueNode of the iterator's current map node entry.
ast/ast.go:1177
↓ 4 callersMethodMarshalYAML
MarshalYAML
ast/ast.go:193
↓ 4 callersMethodPrintErrorMessage
(msg string, isColored bool)
printer/printer.go:197
↓ 4 callersMethodPrintTokens
PrintTokens create text from token collection
printer/printer.go:96
↓ 4 callersMethodReplace
Replace replace value node.
ast/ast.go:1559
↓ 4 callersMethodcastToAssignableValue
(value reflect.Value, target reflect.Type, src ast.Node)
decode.go:1063
↓ 4 callersMethodchain
(pathNode)
path.go:460
↓ 4 callersMethodcreateDecodableValue
(typ reflect.Type)
decode.go:1052
↓ 4 callersMethodcreateID
()
docs/playground/cmd/yaml/main.go:227
↓ 4 callersMethodencodeDocument
(doc []byte)
encode.go:260
↓ 4 callersFunctiongetFirstToken
(n ast.Node)
internal/format/format.go:134
↓ 4 callersFunctionhexRunesToInt
(b []rune)
scanner/scanner.go:304
↓ 4 callersMethodisMapNode
(node ast.Node)
encode.go:672
↓ 4 callersMethodisMapToken
(tk *Token)
parser/parser.go:558
↓ 4 callersFunctionisScalarType
(tk *Token)
parser/token.go:701
↓ 4 callersMethodnextNotCommentToken
()
parser/context.go:61
↓ 4 callersMethodparseHeadComment
(ctx *context)
parser/parser.go:1308
↓ 4 callersMethodparseTag
(ctx *context)
parser/parser.go:952
↓ 4 callersMethodresetBuffer
()
scanner/context.go:77
↓ 4 callersFunctionstructFieldMap
(structType reflect.Type)
struct.go:112
↓ 4 callersFunctiontabProps
(index: number)
docs/playground/src/App.tsx:630
↓ 4 callersMethodunmarshalableDocument
(node ast.Node)
decode.go:699
↓ 4 callersMethodwithFlow
(isFlow bool)
parser/context.go:97
↓ 3 callersMethodArrayRange
()
ast/ast.go:1519
↓ 3 callersFunctionDetectLineBreakCharacter
DetectLineBreakCharacter detect line break character in only one inside scalar content scope.
token/token.go:1165
↓ 3 callersFunctionDocument
(tk *token.Token, body Node)
ast/ast.go:491
↓ 3 callersMethodGetToken
()
internal/errors/error.go:26
↓ 3 callersFunctionHeadComment
HeadComment create a multiline comment for CommentMap.
option.go:303
↓ 3 callersFunctionInfinity
Infinity create node for .inf or -.inf value
ast/ast.go:379
↓ 3 callersFunctionIsNeedQuoted
IsNeedQuoted checks whether the value needs quote for passed string or not
token/token.go:678
↓ 3 callersMethodNextType
NextType next token type
token/token.go:808
↓ 3 callersFunctionParent
Parent get parent node from child node.
ast/ast.go:2321
↓ 3 callersFunctionParse
Parse parse from token instances, and returns ast.File
parser/parser.go:31
↓ 3 callersMethodPreviousType
PreviousType previous token type
token/token.go:800
↓ 3 callersMethodReadNode
ReadNode create AST from r and extract node by YAMLPath.
path.go:227
↓ 3 callersMethodRecursive
Recursive add '..selector' to current path.
path.go:406
↓ 3 callersFunctionSequence
Sequence create node for sequence
ast/ast.go:468
↓ 3 callersMethodSetName
(name string)
ast/ast.go:1881
↓ 3 callersMethodString
String literal to text
ast/ast.go:917
↓ 3 callersFunctionToNumber
(value string)
token/token.go:560
↓ 3 callersFunctionUnmarshalWithOptions
UnmarshalWithOptions decodes with DecodeOptions the first document found within the in byte slice and assigns decoded values into the out value.
yaml.go:200
↓ 3 callersMethod_resume
()
docs/playground/src/wasm_exec.js:555
↓ 3 callersFunctioncheckJSONRawValue
(t *testing.T, v json.RawMessage, expected T)
yaml_test.go:283
↓ 3 callersMethodchild
(name string)
path.go:437
↓ 3 callersMethodencodePtrAnchor
(v reflect.Value, column int)
encode.go:504
↓ 3 callersMethodencodeTime
(v time.Time, column int)
encode.go:839
↓ 3 callersMethodfileToReader
(file string)
decode.go:1800
↓ 3 callersFunctionfirstLineIndentColumnByOpt
(opt string)
scanner/context.go:124
↓ 3 callersFunctionhasComment
(n ast.Node)
internal/format/format.go:48
↓ 3 callersFunctionisMerge
(ctx context.Context)
context.go:14
↓ 3 callersFunctionisXS
()
docs/playground/src/App.tsx:23
↓ 3 callersMethodmapKeyNodeToString
(ctx context.Context, node ast.MapKeyNode)
decode.go:119
↓ 3 callersFunctionnewFormatter
(tk *token.Token, existsComment bool)
internal/format/format.go:192
↓ 3 callersMethodnext
()
parser/context.go:118
↓ 3 callersFunctionnormalizeNewLineChars
normalizeNewLineChars normalize CRLF and CR to LF.
internal/format/format.go:539
↓ 3 callersMethodparseAnchorName
(ctx *context)
parser/parser.go:868
↓ 3 callersMethodparseFootComment
(ctx *context, col int)
parser/parser.go:1320
↓ 3 callersMethodparseLiteral
(ctx *context)
parser/parser.go:910
↓ 3 callersMethodparseMapKey
(ctx *context, g *TokenGroup)
parser/parser.go:587
↓ 3 callersMethodremoveLeftSideNewLineChar
(src string)
printer/printer.go:208
↓ 3 callersMethodrepeatNum
(r rune)
scanner/context.go:346
↓ 3 callersMethodsetAnchor
(ptr uintptr, name string)
encode.go:1031
↓ 3 callersFunctionsetHeadComment
(cm *ast.CommentGroupNode, value ast.Node)
parser/node.go:241
↓ 3 callersMethodsetPathToCommentMap
(node ast.Node)
decode.go:220
↓ 3 callersFunctiontoToken
(tk *token.Token)
docs/playground/cmd/yaml/main.go:113
↓ 3 callersFunctiontokenGroupToKey
(g: TokenGroup)
docs/playground/src/App.tsx:323
↓ 3 callersMethodupdateIndentColumn
(column int)
scanner/context.go:140
↓ 3 callersFunctionwithMerge
(ctx context.Context)
context.go:10
← previousnext →101–200 of 1,184, ranked by callers