Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goccy/go-yaml
/ functions
Functions
1,184 in github.com/goccy/go-yaml
⨍
Functions
1,184
◇
Types & classes
217
↓ 6 callers
Method
decode
(ctx context.Context, v reflect.Value)
decode.go:1955
↓ 6 callers
Method
filter
(ast.Node)
path.go:461
↓ 6 callers
Method
insertNullToken
(tk *Token)
parser/context.go:122
↓ 6 callers
Method
parse
(ctx context.Context, bytes []byte)
decode.go:1900
↓ 6 callers
Method
parseAnchor
(ctx *context, g *TokenGroup)
parser/parser.go:846
↓ 6 callers
Method
validateDuplicateKey
(keyMap map[string]struct{}, key interface{}, keyNode ast.Node)
decode.go:1655
↓ 5 callers
Method
Clone
Clone copy token ( preserve Prev/Next reference )
token/token.go:824
↓ 5 callers
Function
Mapping
Mapping create node for map
ast/ast.go:438
↓ 5 callers
Method
Read
Read decode from r and set extracted value by YAMLPath to v.
path.go:215
↓ 5 callers
Function
String
String create token for String
token/token.go:885
↓ 5 callers
Function
Walk
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 callers
Method
addCommentToMap
(path string, comment *Comment)
decode.go:332
↓ 5 callers
Method
decodeValue
(ctx context.Context, dst reflect.Value, src ast.Node)
decode.go:893
↓ 5 callers
Method
encodeString
(v string, column int)
encode.go:590
↓ 5 callers
Function
isIgnoredStructField
(field reflect.StructField)
struct.go:84
↓ 5 callers
Method
isMultiLine
()
scanner/context.go:366
↓ 5 callers
Method
lastToken
()
scanner/context.go:447
↓ 5 callers
Method
mapKeyText
(n ast.Node)
parser/parser.go:704
↓ 5 callers
Function
newMappingValueNode
(ctx *context, colonTk, entryTk *Token, key ast.MapKeyNode, value ast.Node)
parser/node.go:17
↓ 5 callers
Method
nextChar
()
scanner/context.go:339
↓ 5 callers
Method
replace
(ast.Node, ast.Node)
path.go:462
↓ 5 callers
Function
reservedKeywordToken
(typ Type, value, org string, pos *Position)
token/token.go:344
↓ 5 callers
Method
source
(s, e int)
scanner/context.go:321
↓ 5 callers
Method
withChild
(path string)
parser/context.go:85
↓ 4 callers
Function
Anchor
(tk *token.Token)
ast/ast.go:477
↓ 4 callers
Function
Comment
Comment create token for Comment
token/token.go:993
↓ 4 callers
Function
CommentGroup
(comments []*token.Token)
ast/ast.go:418
↓ 4 callers
Method
DecodeFromNode
DecodeFromNode decodes node into the value pointed to by v.
decode.go:2014
↓ 4 callers
Method
Equals
(o *dynamicField)
yaml_test.go:379
↓ 4 callers
Method
Error
()
scanner/error.go:9
↓ 4 callers
Method
IndexAll
IndexAll add '[*]' to current path.
path.go:400
↓ 4 callers
Function
Integer
Integer create node for integer value
ast/ast.go:350
↓ 4 callers
Method
KeyValue
KeyValue returns the MappingValueNode of the iterator's current map node entry.
ast/ast.go:1177
↓ 4 callers
Method
MarshalYAML
MarshalYAML
ast/ast.go:193
↓ 4 callers
Method
PrintErrorMessage
(msg string, isColored bool)
printer/printer.go:197
↓ 4 callers
Method
PrintTokens
PrintTokens create text from token collection
printer/printer.go:96
↓ 4 callers
Method
Replace
Replace replace value node.
ast/ast.go:1559
↓ 4 callers
Method
castToAssignableValue
(value reflect.Value, target reflect.Type, src ast.Node)
decode.go:1063
↓ 4 callers
Method
chain
(pathNode)
path.go:460
↓ 4 callers
Method
createDecodableValue
(typ reflect.Type)
decode.go:1052
↓ 4 callers
Method
createID
()
docs/playground/cmd/yaml/main.go:227
↓ 4 callers
Method
encodeDocument
(doc []byte)
encode.go:260
↓ 4 callers
Function
getFirstToken
(n ast.Node)
internal/format/format.go:134
↓ 4 callers
Function
hexRunesToInt
(b []rune)
scanner/scanner.go:304
↓ 4 callers
Method
isMapNode
(node ast.Node)
encode.go:672
↓ 4 callers
Method
isMapToken
(tk *Token)
parser/parser.go:558
↓ 4 callers
Function
isScalarType
(tk *Token)
parser/token.go:701
↓ 4 callers
Method
nextNotCommentToken
()
parser/context.go:61
↓ 4 callers
Method
parseHeadComment
(ctx *context)
parser/parser.go:1308
↓ 4 callers
Method
parseTag
(ctx *context)
parser/parser.go:952
↓ 4 callers
Method
resetBuffer
()
scanner/context.go:77
↓ 4 callers
Function
structFieldMap
(structType reflect.Type)
struct.go:112
↓ 4 callers
Function
tabProps
(index: number)
docs/playground/src/App.tsx:630
↓ 4 callers
Method
unmarshalableDocument
(node ast.Node)
decode.go:699
↓ 4 callers
Method
withFlow
(isFlow bool)
parser/context.go:97
↓ 3 callers
Method
ArrayRange
()
ast/ast.go:1519
↓ 3 callers
Function
DetectLineBreakCharacter
DetectLineBreakCharacter detect line break character in only one inside scalar content scope.
token/token.go:1165
↓ 3 callers
Function
Document
(tk *token.Token, body Node)
ast/ast.go:491
↓ 3 callers
Method
GetToken
()
internal/errors/error.go:26
↓ 3 callers
Function
HeadComment
HeadComment create a multiline comment for CommentMap.
option.go:303
↓ 3 callers
Function
Infinity
Infinity create node for .inf or -.inf value
ast/ast.go:379
↓ 3 callers
Function
IsNeedQuoted
IsNeedQuoted checks whether the value needs quote for passed string or not
token/token.go:678
↓ 3 callers
Method
NextType
NextType next token type
token/token.go:808
↓ 3 callers
Function
Parent
Parent get parent node from child node.
ast/ast.go:2321
↓ 3 callers
Function
Parse
Parse parse from token instances, and returns ast.File
parser/parser.go:31
↓ 3 callers
Method
PreviousType
PreviousType previous token type
token/token.go:800
↓ 3 callers
Method
ReadNode
ReadNode create AST from r and extract node by YAMLPath.
path.go:227
↓ 3 callers
Method
Recursive
Recursive add '..selector' to current path.
path.go:406
↓ 3 callers
Function
Sequence
Sequence create node for sequence
ast/ast.go:468
↓ 3 callers
Method
SetName
(name string)
ast/ast.go:1881
↓ 3 callers
Method
String
String literal to text
ast/ast.go:917
↓ 3 callers
Function
ToNumber
(value string)
token/token.go:560
↓ 3 callers
Function
UnmarshalWithOptions
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 callers
Method
_resume
()
docs/playground/src/wasm_exec.js:555
↓ 3 callers
Function
checkJSONRawValue
(t *testing.T, v json.RawMessage, expected T)
yaml_test.go:283
↓ 3 callers
Method
child
(name string)
path.go:437
↓ 3 callers
Method
encodePtrAnchor
(v reflect.Value, column int)
encode.go:504
↓ 3 callers
Method
encodeTime
(v time.Time, column int)
encode.go:839
↓ 3 callers
Method
fileToReader
(file string)
decode.go:1800
↓ 3 callers
Function
firstLineIndentColumnByOpt
(opt string)
scanner/context.go:124
↓ 3 callers
Function
hasComment
(n ast.Node)
internal/format/format.go:48
↓ 3 callers
Function
isMerge
(ctx context.Context)
context.go:14
↓ 3 callers
Function
isXS
()
docs/playground/src/App.tsx:23
↓ 3 callers
Method
mapKeyNodeToString
(ctx context.Context, node ast.MapKeyNode)
decode.go:119
↓ 3 callers
Function
newFormatter
(tk *token.Token, existsComment bool)
internal/format/format.go:192
↓ 3 callers
Method
next
()
parser/context.go:118
↓ 3 callers
Function
normalizeNewLineChars
normalizeNewLineChars normalize CRLF and CR to LF.
internal/format/format.go:539
↓ 3 callers
Method
parseAnchorName
(ctx *context)
parser/parser.go:868
↓ 3 callers
Method
parseFootComment
(ctx *context, col int)
parser/parser.go:1320
↓ 3 callers
Method
parseLiteral
(ctx *context)
parser/parser.go:910
↓ 3 callers
Method
parseMapKey
(ctx *context, g *TokenGroup)
parser/parser.go:587
↓ 3 callers
Method
removeLeftSideNewLineChar
(src string)
printer/printer.go:208
↓ 3 callers
Method
repeatNum
(r rune)
scanner/context.go:346
↓ 3 callers
Method
setAnchor
(ptr uintptr, name string)
encode.go:1031
↓ 3 callers
Function
setHeadComment
(cm *ast.CommentGroupNode, value ast.Node)
parser/node.go:241
↓ 3 callers
Method
setPathToCommentMap
(node ast.Node)
decode.go:220
↓ 3 callers
Function
toToken
(tk *token.Token)
docs/playground/cmd/yaml/main.go:113
↓ 3 callers
Function
tokenGroupToKey
(g: TokenGroup)
docs/playground/src/App.tsx:323
↓ 3 callers
Method
updateIndentColumn
(column int)
scanner/context.go:140
↓ 3 callers
Function
withMerge
(ctx context.Context)
context.go:10
← previous
next →
101–200 of 1,184, ranked by callers