MCPcopy Create free account

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

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

↓ 2 callersFunctionnewIntegerNode
(ctx *context, tk *Token)
parser/node.go:105
↓ 2 callersMethodnewLineCharacterNum
(src string)
parser/parser.go:688
↓ 2 callersFunctionnewMappingNode
(ctx *context, tk *Token, isFlow bool, values ...*ast.MappingValueNode)
parser/node.go:11
↓ 2 callersFunctionnewSequenceNode
(ctx *context, tk *Token, isFlow bool)
parser/node.go:168
↓ 2 callersMethodnext
()
scanner/context.go:317
↓ 2 callersMethodnormalizeSelectorName
(name string)
path.go:425
↓ 2 callersMethodparseAlias
(ctx *context)
parser/parser.go:889
↓ 2 callersMethodparseDirectiveName
(ctx *context)
parser/parser.go:1272
↓ 2 callersMethodparseFlowMap
(ctx *context)
parser/parser.go:329
↓ 2 callersMethodparseFlowSequence
(ctx *context)
parser/parser.go:1019
↓ 2 callersMethodparseMap
(ctx *context)
parser/parser.go:442
↓ 2 callersMethodparseMapKeyValue
(ctx *context, g *TokenGroup, entryTk *Token)
parser/parser.go:566
↓ 2 callersMethodparseSequence
(ctx *context)
parser/parser.go:1083
↓ 2 callersMethodpreviousChar
()
scanner/context.go:325
↓ 2 callersMethodprogressOnly
(ctx *Context, num int)
scanner/scanner.go:101
↓ 2 callersMethodrenderStringNode
(graph *graphviz.Graph, n *ast.StringNode)
docs/playground/cmd/yaml/main.go:447
↓ 2 callersMethodreplaceMapValue
(value *ast.MappingValueNode, target ast.Node)
path.go:576
↓ 2 callersMethodsetInt32
(addr, v)
docs/playground/src/wasm_exec.js:124
↓ 2 callersMethodsetToMapValue
(ctx context.Context, node ast.Node, m map[string]interface{})
decode.go:133
↓ 2 callersMethodsetToOrderedMapValue
(ctx context.Context, node ast.Node, m *MapSlice)
decode.go:178
↓ 2 callersMethodstartPos
()
ast/ast.go:1191
↓ 2 callersMethodstringWithoutComment
String node to text without comment
ast/ast.go:207
↓ 2 callersFunctiontoGroupedToken
(tk *parser.Token)
docs/playground/cmd/yaml/main.go:139
↓ 2 callersFunctiontoNumber
(value string)
token/token.go:580
↓ 2 callersMethodtoString
()
ast/ast.go:1437
↓ 2 callersFunctiontokenMatches
(t *token.Token, e testToken)
lexer/lexer_test.go:2880
↓ 2 callersFunctiontokenToComponent
(tk: Token, nextTk: Token | null)
docs/playground/src/App.tsx:393
↓ 2 callersMethodvalidateAnchorValueInMapOrSeq
(value ast.Node, col int)
parser/parser.go:815
↓ 2 callersMethodvalidateDocumentSeparatorMarker
(ctx *Context, src []rune)
scanner/scanner.go:594
↓ 2 callersMethodvalidateIndentColumn
()
scanner/context.go:166
↓ 2 callersMethodvalidateMapKey
(ctx *context, tk *token.Token, keyPath string, colonTk *Token)
parser/parser.go:641
↓ 2 callersFunctionwithAnchor
(ctx context.Context, name string)
context.go:22
↓ 2 callersMethodwithIndex
(idx uint)
parser/context.go:91
↓ 1 callersFunctionAllowDuplicateMapKey
AllowDuplicateMapKey allow the use of keys with the same name in the same map, but by default, this is not permitted.
parser/option.go:8
↓ 1 callersFunctionComment
Comment create node for comment
ast/ast.go:411
↓ 1 callersFunctionDecode
(v string)
docs/playground/cmd/yaml/main.go:70
↓ 1 callersMethodDecodeFromNodeContext
DecodeFromNodeContext decodes node into the value pointed to by v with context.Context.
decode.go:2019
↓ 1 callersFunctionDirective
(tk *token.Token)
ast/ast.go:499
↓ 1 callersMethodDump
()
parser/token.go:125
↓ 1 callersMethodDump
Dump outputs token information to stdout for debugging.
token/token.go:837
↓ 1 callersMethodDump
Dump dump all token structures for debugging
token/token.go:877
↓ 1 callersMethodEncodeToNode
EncodeToNode convert v to ast.Node.
encode.go:110
↓ 1 callersFunctionErrDuplicateKey
ErrDuplicateKey creates an duplicate key error instance with token.
internal/errors/error.go:101
↓ 1 callersFunctionErrUnknownField
ErrUnknownField creates an unknown field error instance with token.
internal/errors/error.go:109
↓ 1 callersMethodFilter
Filter filter from target by YAMLPath and set it to v.
path.go:247
↓ 1 callersFunctionFootComment
FootComment create a multiline comment for CommentMap.
option.go:311
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:136
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:152
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:179
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:195
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:211
↓ 1 callersMethodFormatError
(colored, inclSource bool)
internal/errors/error.go:227
↓ 1 callersMethodGetToken
GetToken returns token instance
ast/ast.go:1391
↓ 1 callersMethodInit
Init prepares the scanner s to tokenize the text src by setting the scanner at the beginning of src.
scanner/scanner.go:1497
↓ 1 callersFunctionJSON
JSON encode in JSON format
option.go:190
↓ 1 callersFunctionJSONToYAML
JSONToYAML convert JSON bytes to YAML.
yaml.go:254
↓ 1 callersFunctionLineComment
LineComment create a one-line comment for CommentMap.
option.go:295
↓ 1 callersFunctionLiteral
(tk *token.Token)
ast/ast.go:506
↓ 1 callersFunctionMappingKey
MappingKey create node for map key ( '?' ).
ast/ast.go:460
↓ 1 callersFunctionMarshalContext
MarshalContext serializes the value provided into a YAML document with context.Context and EncodeOptions.
yaml.go:154
↓ 1 callersMethodMarshalJSON
()
encode.go:288
↓ 1 callersMethodMarshalText
()
encode_test.go:1836
↓ 1 callersMethodMergeFromNode
MergeFromNode merge ast.Node into ast.File.
path.go:319
↓ 1 callersMethodMergeFromReader
MergeFromReader merge YAML text into ast.File.
path.go:289
↓ 1 callersFunctionParse
(ctx context.Context, v string)
docs/playground/cmd/yaml/main.go:180
↓ 1 callersFunctionParseFile
Parse parse from filename, and returns ast.File
parser/parser.go:47
↓ 1 callersFunctionParseGroup
(v string)
docs/playground/cmd/yaml/main.go:164
↓ 1 callersFunctionPathString
PathString create Path from string YAMLPath rule $ : the root object/element . : child operator .. : recursive descent [num] : object/elem
path.go:27
↓ 1 callersMethodPrintNode
PrintNode create text from ast.Node
printer/printer.go:148
↓ 1 callersMethodReplaceWithReader
ReplaceWithReader replace ast.File with io.Reader.
path.go:331
↓ 1 callersMethodScan
Scan scans the next token and returns the token collection. The source end is indicated by io.EOF.
scanner/scanner.go:1517
↓ 1 callersFunctionSequenceMergeValue
SequenceMergeValue creates SequenceMergeValueNode instance.
ast/ast.go:1764
↓ 1 callersMethodSetGroupType
(typ TokenGroupType)
parser/token.go:118
↓ 1 callersFunctionSpace
Space create token for Space
token/token.go:1105
↓ 1 callersMethodString
String document to text
ast/ast.go:580
↓ 1 callersMethodString
String returns `null` text
ast/ast.go:629
↓ 1 callersMethodString
String int64 to text
ast/ast.go:687
↓ 1 callersMethodString
String float64 to text
ast/ast.go:740
↓ 1 callersMethodString
String string value to text with quote or literal header if required
ast/ast.go:811
↓ 1 callersMethodString
String returns '<<' value
ast/ast.go:965
↓ 1 callersMethodString
String boolean to text
ast/ast.go:1019
↓ 1 callersMethodString
String infinity to text
ast/ast.go:1071
↓ 1 callersMethodString
String returns .nan
ast/ast.go:1122
↓ 1 callersMethodString
String mapping values to text
ast/ast.go:1281
↓ 1 callersMethodString
String tag to text
ast/ast.go:1338
↓ 1 callersMethodString
String mapping value to text
ast/ast.go:1420
↓ 1 callersMethodString
String sequence to text
ast/ast.go:1684
↓ 1 callersMethodString
String node to text
ast/ast.go:1714
↓ 1 callersMethodString
String anchor to text
ast/ast.go:1838
↓ 1 callersMethodString
String alias to text
ast/ast.go:1919
↓ 1 callersMethodString
String directive to text
ast/ast.go:1968
↓ 1 callersMethodString
String tag to text
ast/ast.go:2023
↓ 1 callersMethodString
String comment to text
ast/ast.go:2085
↓ 1 callersMethodString
String comment to text
ast/ast.go:2124
↓ 1 callersMethodStruct
(interface{})
validate.go:6
↓ 1 callersMethodStructField
()
validate.go:12
↓ 1 callersFunctionTag
(tk *token.Token)
ast/ast.go:513
↓ 1 callersMethodToMap
ToMap convert to map[interface{}]interface{}.
yaml.go:80
↓ 1 callersMethodTokenType
()
parser/token.go:197
↓ 1 callersFunctionTokenize
(v string)
docs/playground/cmd/yaml/main.go:100
← previousnext →301–400 of 1,184, ranked by callers