SYMBOL INDEX (1406 symbols across 262 files) FILE: cmd/evaluate_all_command.go function createEvaluateAllCommand (line 10) | func createEvaluateAllCommand() *cobra.Command { function evaluateAll (line 47) | func evaluateAll(cmd *cobra.Command, args []string) (cmdError error) { FILE: cmd/evaluate_all_command_test.go function TestCreateEvaluateAllCommand (line 11) | func TestCreateEvaluateAllCommand(t *testing.T) { function TestEvaluateAll_NoArgs (line 44) | func TestEvaluateAll_NoArgs(t *testing.T) { function TestEvaluateAll_NullInput (line 69) | func TestEvaluateAll_NullInput(t *testing.T) { function TestEvaluateAll_WithSingleFile (line 89) | func TestEvaluateAll_WithSingleFile(t *testing.T) { function TestEvaluateAll_WithMultipleFiles (line 120) | func TestEvaluateAll_WithMultipleFiles(t *testing.T) { function TestEvaluateAll_WithExpression (line 159) | func TestEvaluateAll_WithExpression(t *testing.T) { function TestEvaluateAll_WriteInPlace (line 190) | func TestEvaluateAll_WriteInPlace(t *testing.T) { function TestEvaluateAll_ExitStatus (line 232) | func TestEvaluateAll_ExitStatus(t *testing.T) { function TestEvaluateAll_WithMultipleDocuments (line 263) | func TestEvaluateAll_WithMultipleDocuments(t *testing.T) { function TestEvaluateAll_NulSepOutput (line 294) | func TestEvaluateAll_NulSepOutput(t *testing.T) { FILE: cmd/evaluate_sequence_command.go function createEvaluateSequenceCommand (line 11) | func createEvaluateSequenceCommand() *cobra.Command { function processExpression (line 51) | func processExpression(expression string) string { function evaluateSequence (line 61) | func evaluateSequence(cmd *cobra.Command, args []string) (cmdError error) { FILE: cmd/evaluate_sequence_command_test.go function TestCreateEvaluateSequenceCommand (line 11) | func TestCreateEvaluateSequenceCommand(t *testing.T) { function TestProcessExpression (line 44) | func TestProcessExpression(t *testing.T) { function TestEvaluateSequence_NoArgs (line 98) | func TestEvaluateSequence_NoArgs(t *testing.T) { function TestEvaluateSequence_NullInput (line 123) | func TestEvaluateSequence_NullInput(t *testing.T) { function TestEvaluateSequence_WithFile (line 143) | func TestEvaluateSequence_WithFile(t *testing.T) { function TestEvaluateSequence_WithExpressionAndFile (line 174) | func TestEvaluateSequence_WithExpressionAndFile(t *testing.T) { function TestEvaluateSequence_WriteInPlace (line 205) | func TestEvaluateSequence_WriteInPlace(t *testing.T) { function TestEvaluateSequence_ExitStatus (line 247) | func TestEvaluateSequence_ExitStatus(t *testing.T) { FILE: cmd/root.go type runeValue (line 13) | type runeValue method String (line 19) | func (r *runeValue) String() string { method Set (line 23) | func (r *runeValue) Set(rawVal string) error { method Type (line 36) | func (r *runeValue) Type() string { function newRuneVar (line 15) | func newRuneVar(p *rune) *runeValue { function New (line 40) | func New() *cobra.Command { FILE: cmd/root_test.go function TestNewRuneVar (line 8) | func TestNewRuneVar(t *testing.T) { function TestRuneValue_String (line 17) | func TestRuneValue_String(t *testing.T) { function TestRuneValue_Set (line 56) | func TestRuneValue_Set(t *testing.T) { function TestRuneValue_Set_ErrorMessages (line 143) | func TestRuneValue_Set_ErrorMessages(t *testing.T) { function TestRuneValue_Type (line 181) | func TestRuneValue_Type(t *testing.T) { function TestNew (line 193) | func TestNew(t *testing.T) { function TestNew_FlagCompletions (line 236) | func TestNew_FlagCompletions(t *testing.T) { FILE: cmd/unwrap_flag.go type boolFlag (line 9) | type boolFlag interface type unwrapScalarFlagStrc (line 15) | type unwrapScalarFlagStrc struct method IsExplicitlySet (line 24) | func (f *unwrapScalarFlagStrc) IsExplicitlySet() bool { method IsSet (line 28) | func (f *unwrapScalarFlagStrc) IsSet() bool { method String (line 32) | func (f *unwrapScalarFlagStrc) String() string { method Set (line 36) | func (f *unwrapScalarFlagStrc) Set(value string) error { method Type (line 44) | func (*unwrapScalarFlagStrc) Type() string { function newUnwrapFlag (line 20) | func newUnwrapFlag() boolFlag { FILE: cmd/utils.go function isAutomaticOutputFormat (line 14) | func isAutomaticOutputFormat() bool { function initCommand (line 18) | func initCommand(cmd *cobra.Command, args []string) (string, []string, e... function setupColors (line 47) | func setupColors() { function loadSplitFileExpression (line 55) | func loadSplitFileExpression() error { function handleBackwardsCompatibility (line 66) | func handleBackwardsCompatibility() { function validateCommandFlags (line 73) | func validateCommandFlags(args []string) error { function configureFormats (line 93) | func configureFormats(args []string) error { function configureInputFormat (line 113) | func configureInputFormat(inputFilename string) error { function configureOutputFormat (line 142) | func configureOutputFormat() error { function configureUnwrapScalar (line 156) | func configureUnwrapScalar() { function configureDecoder (line 162) | func configureDecoder(evaluateTogether bool) (yqlib.Decoder, error) { function configurePrinterWriter (line 179) | func configurePrinterWriter(format *yqlib.Format, out io.Writer) (yqlib.... function configureEncoder (line 196) | func configureEncoder() (yqlib.Encoder, error) { function maybeFile (line 234) | func maybeFile(str string) bool { function processStdInArgs (line 249) | func processStdInArgs(args []string) []string { function processArgs (line 276) | func processArgs(originalArgs []string) (string, []string, error) { FILE: cmd/utils_test.go function TestIsAutomaticOutputFormat (line 13) | func TestIsAutomaticOutputFormat(t *testing.T) { function TestMaybeFile (line 42) | func TestMaybeFile(t *testing.T) { function TestProcessArgs (line 79) | func TestProcessArgs(t *testing.T) { function TestConfigureDecoder (line 201) | func TestConfigureDecoder(t *testing.T) { function TestConfigurePrinterWriter (line 276) | func TestConfigurePrinterWriter(t *testing.T) { function TestConfigureEncoder (line 374) | func TestConfigureEncoder(t *testing.T) { function TestInitCommand (line 464) | func TestInitCommand(t *testing.T) { function TestProcessArgsWithExpressionFile (line 609) | func TestProcessArgsWithExpressionFile(t *testing.T) { function TestProcessArgsWithNonExistentExpressionFile (line 644) | func TestProcessArgsWithNonExistentExpressionFile(t *testing.T) { function TestInitCommandWithInvalidOutputFormat (line 663) | func TestInitCommandWithInvalidOutputFormat(t *testing.T) { function TestInitCommandWithUnknownInputFormat (line 696) | func TestInitCommandWithUnknownInputFormat(t *testing.T) { function TestConfigurePrinterWriterWithInvalidSplitExpression (line 730) | func TestConfigurePrinterWriterWithInvalidSplitExpression(t *testing.T) { function TestMaybeFileWithDirectory (line 749) | func TestMaybeFileWithDirectory(t *testing.T) { function TestProcessStdInArgsWithDash (line 763) | func TestProcessStdInArgsWithDash(t *testing.T) { function TestProcessArgsWithYqFileExtension (line 771) | func TestProcessArgsWithYqFileExtension(t *testing.T) { function TestConfigureEncoderWithYamlFormat (line 818) | func TestConfigureEncoderWithYamlFormat(t *testing.T) { function TestConfigureEncoderWithPropertiesFormat (line 850) | func TestConfigureEncoderWithPropertiesFormat(t *testing.T) { type mockBoolFlag (line 883) | type mockBoolFlag struct method IsExplicitlySet (line 888) | func (f *mockBoolFlag) IsExplicitlySet() bool { method IsSet (line 892) | func (f *mockBoolFlag) IsSet() bool { method String (line 896) | func (f *mockBoolFlag) String() string { method Set (line 900) | func (f *mockBoolFlag) Set(_ string) error { method Type (line 904) | func (f *mockBoolFlag) Type() string { function stringsEqual (line 909) | func stringsEqual(a, b []string) bool { function TestSetupColors (line 921) | func TestSetupColors(t *testing.T) { function TestLoadSplitFileExpression (line 967) | func TestLoadSplitFileExpression(t *testing.T) { function TestHandleBackwardsCompatibility (line 1038) | func TestHandleBackwardsCompatibility(t *testing.T) { function TestValidateCommandFlags (line 1081) | func TestValidateCommandFlags(t *testing.T) { function TestConfigureFormats (line 1191) | func TestConfigureFormats(t *testing.T) { function TestConfigureInputFormat (line 1243) | func TestConfigureInputFormat(t *testing.T) { function TestConfigureOutputFormat (line 1315) | func TestConfigureOutputFormat(t *testing.T) { function TestConfigureUnwrapScalar (line 1381) | func TestConfigureUnwrapScalar(t *testing.T) { FILE: cmd/version.go constant ProductName (line 23) | ProductName = "yq" function GetVersionDisplay (line 27) | func GetVersionDisplay() string { function getHumanVersion (line 31) | func getHumanVersion() string { FILE: cmd/version_test.go function TestGetVersionDisplay (line 8) | func TestGetVersionDisplay(t *testing.T) { function Test_getHumanVersion (line 30) | func Test_getHumanVersion(t *testing.T) { function Test_getHumanVersion_NoGitDescribe (line 68) | func Test_getHumanVersion_NoGitDescribe(t *testing.T) { function Test_getHumanVersion_WithPrerelease (line 91) | func Test_getHumanVersion_WithPrerelease(t *testing.T) { function Test_getHumanVersion_PrereleaseInVersion (line 115) | func Test_getHumanVersion_PrereleaseInVersion(t *testing.T) { function Test_getHumanVersion_StripSingleQuotes (line 140) | func Test_getHumanVersion_StripSingleQuotes(t *testing.T) { function TestProductName (line 168) | func TestProductName(t *testing.T) { function TestVersionIsSet (line 174) | func TestVersionIsSet(t *testing.T) { FILE: go_install_test.go function TestGoInstallCompatibility (line 15) | func TestGoInstallCompatibility(t *testing.T) { FILE: pkg/yqlib/all_at_once_evaluator.go type Evaluator (line 8) | type Evaluator interface type allAtOnceEvaluator (line 18) | type allAtOnceEvaluator struct method EvaluateNodes (line 27) | func (e *allAtOnceEvaluator) EvaluateNodes(expression string, nodes ..... method EvaluateCandidateNodes (line 35) | func (e *allAtOnceEvaluator) EvaluateCandidateNodes(expression string,... method EvaluateFiles (line 47) | func (e *allAtOnceEvaluator) EvaluateFiles(expression string, filename... function NewAllAtOnceEvaluator (line 22) | func NewAllAtOnceEvaluator() Evaluator { FILE: pkg/yqlib/all_at_once_evaluator_test.go function TestAllAtOnceEvaluateNodes (line 35) | func TestAllAtOnceEvaluateNodes(t *testing.T) { FILE: pkg/yqlib/base64_test.go constant base64EncodedSimple (line 13) | base64EncodedSimple = "YSBzcGVjaWFsIHN0cmluZw==" constant base64DecodedSimpleExtraSpaces (line 14) | base64DecodedSimpleExtraSpaces = "\n " + base64EncodedSimple + " \n" constant base64DecodedSimple (line 15) | base64DecodedSimple = "a special string" constant base64EncodedUTF8 (line 17) | base64EncodedUTF8 = "V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig==" constant base64DecodedUTF8 (line 18) | base64DecodedUTF8 = "Works with UTF-16 😊" constant base64EncodedYaml (line 20) | base64EncodedYaml = "YTogYXBwbGUK" constant base64DecodedYaml (line 21) | base64DecodedYaml = "a: apple\n" constant base64EncodedEmpty (line 23) | base64EncodedEmpty = "" constant base64DecodedEmpty (line 24) | base64DecodedEmpty = "" constant base64MissingPadding (line 26) | base64MissingPadding = "Y2F0cw" constant base64DecodedMissingPadding (line 27) | base64DecodedMissingPadding = "cats" constant base64EncodedCats (line 29) | base64EncodedCats = "Y2F0cw==" constant base64DecodedCats (line 30) | base64DecodedCats = "cats" function testBase64Scenario (line 176) | func testBase64Scenario(t *testing.T, s formatScenario) { function documentBase64Scenario (line 199) | func documentBase64Scenario(_ *testing.T, w *bufio.Writer, i interface{}) { function documentBase64DecodeScenario (line 216) | func documentBase64DecodeScenario(w *bufio.Writer, s formatScenario) { function documentBase64EncodeScenario (line 238) | func documentBase64EncodeScenario(w *bufio.Writer, s formatScenario) { function TestBase64Scenarios (line 260) | func TestBase64Scenarios(t *testing.T) { FILE: pkg/yqlib/candidate_node.go type Kind (line 10) | type Kind constant SequenceNode (line 13) | SequenceNode Kind = 1 << iota constant MappingNode (line 14) | MappingNode constant ScalarNode (line 15) | ScalarNode constant AliasNode (line 16) | AliasNode type Style (line 19) | type Style constant TaggedStyle (line 22) | TaggedStyle Style = 1 << iota constant DoubleQuotedStyle (line 23) | DoubleQuotedStyle constant SingleQuotedStyle (line 24) | SingleQuotedStyle constant LiteralStyle (line 25) | LiteralStyle constant FoldedStyle (line 26) | FoldedStyle constant FlowStyle (line 27) | FlowStyle function createStringScalarNode (line 30) | func createStringScalarNode(stringValue string) *CandidateNode { function createScalarNode (line 37) | func createScalarNode(value interface{}, stringValue string) *CandidateN... type NodeInfo (line 56) | type NodeInfo struct type CandidateNode (line 70) | type CandidateNode struct method CreateChild (line 105) | func (n *CandidateNode) CreateChild() *CandidateNode { method SetDocument (line 111) | func (n *CandidateNode) SetDocument(idx uint) { method GetDocument (line 115) | func (n *CandidateNode) GetDocument() uint { method SetFilename (line 123) | func (n *CandidateNode) SetFilename(name string) { method GetFilename (line 127) | func (n *CandidateNode) GetFilename() string { method SetFileIndex (line 134) | func (n *CandidateNode) SetFileIndex(idx int) { method GetFileIndex (line 138) | func (n *CandidateNode) GetFileIndex() int { method GetKey (line 145) | func (n *CandidateNode) GetKey() string { method getParsedKey (line 157) | func (n *CandidateNode) getParsedKey() interface{} { method FilterMapContentByKey (line 175) | func (n *CandidateNode) FilterMapContentByKey(keyPredicate func(*Candi... method GetPath (line 187) | func (n *CandidateNode) GetPath() []interface{} { method GetNicePath (line 199) | func (n *CandidateNode) GetNicePath() string { method AsList (line 220) | func (n *CandidateNode) AsList() *list.List { method SetParent (line 226) | func (n *CandidateNode) SetParent(parent *CandidateNode) { method VisitValues (line 232) | func (n *CandidateNode) VisitValues(visitor ValueVisitor) error { method CanVisitValues (line 250) | func (n *CandidateNode) CanVisitValues() bool { method AddKeyValueChild (line 254) | func (n *CandidateNode) AddKeyValueChild(rawKey *CandidateNode, rawVal... method AddChild (line 268) | func (n *CandidateNode) AddChild(rawChild *CandidateNode) { method AddChildren (line 281) | func (n *CandidateNode) AddChildren(children []*CandidateNode) { method GetValueRep (line 296) | func (n *CandidateNode) GetValueRep() (interface{}, error) { method guessTagFromCustomType (line 316) | func (n *CandidateNode) guessTagFromCustomType() string { method CreateReplacement (line 334) | func (n *CandidateNode) CreateReplacement(kind Kind, tag string, value... method CopyAsReplacement (line 343) | func (n *CandidateNode) CopyAsReplacement(replacement *CandidateNode) ... method CreateReplacementWithComments (line 356) | func (n *CandidateNode) CreateReplacementWithComments(kind Kind, tag s... method Copy (line 366) | func (n *CandidateNode) Copy() *CandidateNode { method CopyWithoutContent (line 370) | func (n *CandidateNode) CopyWithoutContent() *CandidateNode { method doCopy (line 374) | func (n *CandidateNode) doCopy(cloneContent bool) *CandidateNode { method UpdateFrom (line 425) | func (n *CandidateNode) UpdateFrom(other *CandidateNode, prefs assignP... method UpdateAttributesFrom (line 447) | func (n *CandidateNode) UpdateAttributesFrom(other *CandidateNode, pre... method ConvertToNodeInfo (line 489) | func (n *CandidateNode) ConvertToNodeInfo() *NodeInfo { type ValueVisitor (line 230) | type ValueVisitor function kindToString (line 512) | func kindToString(k Kind) string { function styleToString (line 527) | func styleToString(s Style) string { FILE: pkg/yqlib/candidate_node_goccy_yaml.go method goccyDecodeIntoChild (line 12) | func (o *CandidateNode) goccyDecodeIntoChild(childNode ast.Node, cm yaml... method UnmarshalGoccyYAML (line 19) | func (o *CandidateNode) UnmarshalGoccyYAML(node ast.Node, cm yaml.Commen... method goccyProcessMappingValueNode (line 189) | func (o *CandidateNode) goccyProcessMappingValueNode(mappingEntry *ast.M... FILE: pkg/yqlib/candidate_node_test.go type valueRepScenario (line 10) | type valueRepScenario struct function TestCandidateNodeGetValueRepScenarios (line 44) | func TestCandidateNodeGetValueRepScenarios(t *testing.T) { function TestCandidateNodeChildWhenParentUpdated (line 56) | func TestCandidateNodeChildWhenParentUpdated(t *testing.T) { type createScalarNodeScenario (line 67) | type createScalarNodeScenario struct function TestCreateScalarNodeScenarios (line 101) | func TestCreateScalarNodeScenarios(t *testing.T) { function TestGetKeyForMapValue (line 109) | func TestGetKeyForMapValue(t *testing.T) { function TestGetKeyForMapKey (line 115) | func TestGetKeyForMapKey(t *testing.T) { function TestGetKeyForValue (line 122) | func TestGetKeyForValue(t *testing.T) { function TestGetParsedKeyForMapKey (line 127) | func TestGetParsedKeyForMapKey(t *testing.T) { function TestGetParsedKeyForLooseValue (line 134) | func TestGetParsedKeyForLooseValue(t *testing.T) { function TestGetParsedKeyForMapValue (line 139) | func TestGetParsedKeyForMapValue(t *testing.T) { function TestGetParsedKeyForArrayValue (line 145) | func TestGetParsedKeyForArrayValue(t *testing.T) { function TestCandidateNodeAddKeyValueChild (line 151) | func TestCandidateNodeAddKeyValueChild(t *testing.T) { function TestConvertToNodeInfo (line 162) | func TestConvertToNodeInfo(t *testing.T) { function TestCandidateNodeGetPath (line 206) | func TestCandidateNodeGetPath(t *testing.T) { function TestCandidateNodeGetNicePath (line 230) | func TestCandidateNodeGetNicePath(t *testing.T) { function TestCandidateNodeFilterMapContentByKey (line 257) | func TestCandidateNodeFilterMapContentByKey(t *testing.T) { function TestCandidateNodeVisitValues (line 284) | func TestCandidateNodeVisitValues(t *testing.T) { function TestCandidateNodeCanVisitValues (line 343) | func TestCandidateNodeCanVisitValues(t *testing.T) { function TestCandidateNodeAddChild (line 353) | func TestCandidateNodeAddChild(t *testing.T) { function TestCandidateNodeAddChildren (line 368) | func TestCandidateNodeAddChildren(t *testing.T) { FILE: pkg/yqlib/candidate_node_yaml.go function MapYamlStyle (line 9) | func MapYamlStyle(original yaml.Style) Style { function MapToYamlStyle (line 29) | func MapToYamlStyle(original Style) yaml.Style { method copyFromYamlNode (line 49) | func (o *CandidateNode) copyFromYamlNode(node *yaml.Node, anchorMap map[... method copyToYamlNode (line 74) | func (o *CandidateNode) copyToYamlNode(node *yaml.Node) { method decodeIntoChild (line 90) | func (o *CandidateNode) decodeIntoChild(childNode *yaml.Node, anchorMap ... method UnmarshalYAML (line 105) | func (o *CandidateNode) UnmarshalYAML(node *yaml.Node, anchorMap map[str... method MarshalYAML (line 178) | func (o *CandidateNode) MarshalYAML() (*yaml.Node, error) { FILE: pkg/yqlib/candidiate_node_json.go method setScalarFromJson (line 14) | func (o *CandidateNode) setScalarFromJson(value interface{}) error { method UnmarshalJSON (line 44) | func (o *CandidateNode) UnmarshalJSON(data []byte) error { method MarshalJSON (line 129) | func (o *CandidateNode) MarshalJSON() ([]byte, error) { FILE: pkg/yqlib/chown_linux.go function changeOwner (line 11) | func changeOwner(info fs.FileInfo, file *os.File) error { FILE: pkg/yqlib/chown_linux_test.go function TestChangeOwner (line 12) | func TestChangeOwner(t *testing.T) { function TestChangeOwnerWithInvalidFileInfo (line 58) | func TestChangeOwnerWithInvalidFileInfo(t *testing.T) { function TestChangeOwnerWithNonExistentFile (line 81) | func TestChangeOwnerWithNonExistentFile(t *testing.T) { type mockFileInfo (line 107) | type mockFileInfo struct method Name (line 113) | func (m *mockFileInfo) Name() string { return m.name } method Size (line 114) | func (m *mockFileInfo) Size() int64 { return m.size } method Mode (line 115) | func (m *mockFileInfo) Mode() os.FileMode { return m.mode } method ModTime (line 116) | func (m *mockFileInfo) ModTime() time.Time { return time.Time{} } method IsDir (line 117) | func (m *mockFileInfo) IsDir() bool { return false } method Sys (line 118) | func (m *mockFileInfo) Sys() interface{} { return nil } function TestChangeOwnerWithSyscallStatT (line 120) | func TestChangeOwnerWithSyscallStatT(t *testing.T) { FILE: pkg/yqlib/chown_not_linux_os.go function changeOwner (line 10) | func changeOwner(_ fs.FileInfo, _ *os.File) error { FILE: pkg/yqlib/color_print.go constant escape (line 14) | escape = "\x1b" function format (line 16) | func format(attr color.Attribute) string { function colorizeAndPrint (line 20) | func colorizeAndPrint(yamlBytes []byte, writer io.Writer) error { FILE: pkg/yqlib/color_print_test.go function TestFormat (line 11) | func TestFormat(t *testing.T) { function TestColorizeAndPrint (line 44) | func TestColorizeAndPrint(t *testing.T) { function TestColorizeAndPrintWithDifferentYamlTypes (line 100) | func TestColorizeAndPrintWithDifferentYamlTypes(t *testing.T) { FILE: pkg/yqlib/context.go type Context (line 11) | type Context struct method SingleReadonlyChildContext (line 18) | func (n *Context) SingleReadonlyChildContext(candidate *CandidateNode)... method SingleChildContext (line 26) | func (n *Context) SingleChildContext(candidate *CandidateNode) Context { method SetDateTimeLayout (line 32) | func (n *Context) SetDateTimeLayout(newDateTimeLayout string) { method GetDateTimeLayout (line 36) | func (n *Context) GetDateTimeLayout() string { method GetVariable (line 43) | func (n *Context) GetVariable(name string) *list.List { method SetVariable (line 50) | func (n *Context) SetVariable(name string, value *list.List) { method ChildContext (line 57) | func (n *Context) ChildContext(results *list.List) Context { method ToString (line 77) | func (n *Context) ToString() string { method DeepClone (line 85) | func (n *Context) DeepClone() Context { method Clone (line 96) | func (n *Context) Clone() Context { method ReadOnlyClone (line 100) | func (n *Context) ReadOnlyClone() Context { method WritableClone (line 106) | func (n *Context) WritableClone() Context { FILE: pkg/yqlib/context_test.go function TestChildContext (line 12) | func TestChildContext(t *testing.T) { function TestChildContextNoVariables (line 40) | func TestChildContextNoVariables(t *testing.T) { function TestSingleReadonlyChildContext (line 55) | func TestSingleReadonlyChildContext(t *testing.T) { function TestSingleChildContext (line 72) | func TestSingleChildContext(t *testing.T) { function TestSetDateTimeLayout (line 89) | func TestSetDateTimeLayout(t *testing.T) { function TestGetDateTimeLayout (line 97) | func TestGetDateTimeLayout(t *testing.T) { function TestGetVariable (line 109) | func TestGetVariable(t *testing.T) { function TestSetVariable (line 129) | func TestSetVariable(t *testing.T) { function TestToString (line 143) | func TestToString(t *testing.T) { function TestDeepClone (line 167) | func TestDeepClone(t *testing.T) { function TestClone (line 202) | func TestClone(t *testing.T) { function TestReadOnlyClone (line 223) | func TestReadOnlyClone(t *testing.T) { function TestWritableClone (line 243) | func TestWritableClone(t *testing.T) { FILE: pkg/yqlib/csv.go type CsvPreferences (line 3) | type CsvPreferences struct function NewDefaultCsvPreferences (line 8) | func NewDefaultCsvPreferences() CsvPreferences { function NewDefaultTsvPreferences (line 15) | func NewDefaultTsvPreferences() CsvPreferences { FILE: pkg/yqlib/csv_test.go constant csvSimple (line 11) | csvSimple = `name,numberOfCats,likesApples,height constant csvSimpleWithObject (line 16) | csvSimpleWithObject = `name,numberOfCats,likesApples,height,facts constant csvMissing (line 20) | csvMissing = `name,numberOfCats,likesApples,height constant expectedUpdatedSimpleCsv (line 23) | expectedUpdatedSimpleCsv = `name,numberOfCats,likesApples,height constant csvSimpleShort (line 28) | csvSimpleShort = `Name,Number of Cats constant tsvSimple (line 33) | tsvSimple = `name numberOfCats likesApples height constant expectedYamlFromCSV (line 38) | expectedYamlFromCSV = `- name: Gary constant expectedYamlFromCSVWithObject (line 47) | expectedYamlFromCSVWithObject = `- name: Gary constant expectedYamlFromCSVNoParsing (line 61) | expectedYamlFromCSVNoParsing = `- name: Gary constant expectedYamlFromCSVMissingData (line 73) | expectedYamlFromCSVMissingData = `- name: Gary constant csvSimpleMissingData (line 81) | csvSimpleMissingData = `name,numberOfCats,height constant csvTestSimpleYaml (line 86) | csvTestSimpleYaml = `- [i, like, csv] constant expectedSimpleCsv (line 89) | expectedSimpleCsv = `i,like,csv constant tsvTestExpectedSimpleCsv (line 93) | tsvTestExpectedSimpleCsv = `i like csv function testCSVScenario (line 227) | func testCSVScenario(t *testing.T, s formatScenario) { function documentCSVDecodeObjectScenario (line 246) | func documentCSVDecodeObjectScenario(w *bufio.Writer, s formatScenario, ... function documentCSVDecodeObjectNoAutoScenario (line 271) | func documentCSVDecodeObjectNoAutoScenario(w *bufio.Writer, s formatScen... function documentCSVEncodeScenario (line 296) | func documentCSVEncodeScenario(w *bufio.Writer, s formatScenario, format... function documentCSVRoundTripScenario (line 329) | func documentCSVRoundTripScenario(w *bufio.Writer, s formatScenario, for... function documentCSVScenario (line 364) | func documentCSVScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function TestCSVScenarios (line 388) | func TestCSVScenarios(t *testing.T) { FILE: pkg/yqlib/data_tree_navigator.go type DataTreeNavigator (line 9) | type DataTreeNavigator interface type dataTreeNavigator (line 18) | type dataTreeNavigator struct method DeeplyAssign (line 25) | func (d *dataTreeNavigator) DeeplyAssign(context Context, path []inter... method GetMatchingNodes (line 52) | func (d *dataTreeNavigator) GetMatchingNodes(context Context, expressi... function NewDataTreeNavigator (line 21) | func NewDataTreeNavigator() DataTreeNavigator { FILE: pkg/yqlib/data_tree_navigator_test.go function TestGetMatchingNodes_NilExpressionNode (line 10) | func TestGetMatchingNodes_NilExpressionNode(t *testing.T) { function TestGetMatchingNodes_UnknownOperator (line 22) | func TestGetMatchingNodes_UnknownOperator(t *testing.T) { function TestGetMatchingNodes_ValidOperator (line 40) | func TestGetMatchingNodes_ValidOperator(t *testing.T) { function TestDeeplyAssign_ScalarNode (line 69) | func TestDeeplyAssign_ScalarNode(t *testing.T) { function TestDeeplyAssign_MappingNode (line 116) | func TestDeeplyAssign_MappingNode(t *testing.T) { function TestDeeplyAssign_DeepPath (line 172) | func TestDeeplyAssign_DeepPath(t *testing.T) { function TestDeeplyAssign_ArrayPath (line 217) | func TestDeeplyAssign_ArrayPath(t *testing.T) { function TestDeeplyAssign_OverwriteExisting (line 255) | func TestDeeplyAssign_OverwriteExisting(t *testing.T) { function TestDeeplyAssign_ErrorHandling (line 294) | func TestDeeplyAssign_ErrorHandling(t *testing.T) { function TestGetMatchingNodes_WithVariables (line 326) | func TestGetMatchingNodes_WithVariables(t *testing.T) { function TestGetMatchingNodes_EmptyContext (line 355) | func TestGetMatchingNodes_EmptyContext(t *testing.T) { function TestDeeplyAssign_ComplexMappingMerge (line 374) | func TestDeeplyAssign_ComplexMappingMerge(t *testing.T) { FILE: pkg/yqlib/decoder.go type Decoder (line 7) | type Decoder interface FILE: pkg/yqlib/decoder_base64.go type base64Decoder (line 12) | type base64Decoder struct method Init (line 23) | func (dec *base64Decoder) Init(reader io.Reader) error { method Decode (line 48) | func (dec *base64Decoder) Decode() (*CandidateNode, error) { function NewBase64Decoder (line 19) | func NewBase64Decoder() Decoder { FILE: pkg/yqlib/decoder_csv_object.go type csvObjectDecoder (line 13) | type csvObjectDecoder struct method Init (line 23) | func (dec *csvObjectDecoder) Init(reader io.Reader) error { method convertToNode (line 32) | func (dec *csvObjectDecoder) convertToNode(content string) *CandidateN... method createObject (line 42) | func (dec *csvObjectDecoder) createObject(headerRow []string, contentR... method Decode (line 51) | func (dec *csvObjectDecoder) Decode() (*CandidateNode, error) { function NewCSVObjectDecoder (line 19) | func NewCSVObjectDecoder(prefs CsvPreferences) Decoder { FILE: pkg/yqlib/decoder_goccy_yaml.go type goccyYamlDecoder (line 16) | type goccyYamlDecoder struct method Init (line 27) | func (dec *goccyYamlDecoder) Init(reader io.Reader) error { method Decode (line 34) | func (dec *goccyYamlDecoder) Decode() (*CandidateNode, error) { function NewGoccyYAMLDecoder (line 23) | func NewGoccyYAMLDecoder() Decoder { FILE: pkg/yqlib/decoder_hcl.go type hclDecoder (line 18) | type hclDecoder struct method Init (line 111) | func (dec *hclDecoder) Init(reader io.Reader) error { method Decode (line 127) | func (dec *hclDecoder) Decode() (*CandidateNode, error) { function NewHclDecoder (line 25) | func NewHclDecoder() Decoder { function sortedAttributes (line 30) | func sortedAttributes(attrs hclsyntax.Attributes) []*attributeWithName { type attributeWithName (line 41) | type attributeWithName struct function extractLineComment (line 47) | func extractLineComment(src []byte, endPos int) string { function extractHeadComment (line 68) | func extractHeadComment(src []byte, startPos int) string { function hclBodyToNode (line 179) | func hclBodyToNode(body *hclsyntax.Body, src []byte) *CandidateNode { function addBlockToMapping (line 212) | func addBlockToMapping(parent *CandidateNode, block *hclsyntax.Block, sr... function convertHclExprToNode (line 255) | func convertHclExprToNode(expr hclsyntax.Expression, src []byte) *Candid... function convertCtyValueToNode (line 429) | func convertCtyValueToNode(v cty.Value) *CandidateNode { FILE: pkg/yqlib/decoder_ini.go type iniDecoder (line 12) | type iniDecoder struct method Init (line 23) | func (dec *iniDecoder) Init(reader io.Reader) error { method Decode (line 29) | func (dec *iniDecoder) Decode() (*CandidateNode, error) { function NewINIDecoder (line 17) | func NewINIDecoder() Decoder { FILE: pkg/yqlib/decoder_json.go type jsonDecoder (line 11) | type jsonDecoder struct method Init (line 19) | func (dec *jsonDecoder) Init(reader io.Reader) error { method Decode (line 24) | func (dec *jsonDecoder) Decode() (*CandidateNode, error) { function NewJSONDecoder (line 15) | func NewJSONDecoder() Decoder { FILE: pkg/yqlib/decoder_lua.go type luaDecoder (line 13) | type luaDecoder struct method Init (line 25) | func (dec *luaDecoder) Init(reader io.Reader) error { method convertToYamlNode (line 30) | func (dec *luaDecoder) convertToYamlNode(ls *lua.LState, lv lua.LValue... method decideTopLevelNode (line 139) | func (dec *luaDecoder) decideTopLevelNode(ls *lua.LState) *CandidateNo... method Decode (line 147) | func (dec *luaDecoder) Decode() (*CandidateNode, error) { function NewLuaDecoder (line 19) | func NewLuaDecoder(prefs LuaPreferences) Decoder { FILE: pkg/yqlib/decoder_properties.go type propertiesDecoder (line 15) | type propertiesDecoder struct method Init (line 25) | func (dec *propertiesDecoder) Init(reader io.Reader) error { method processComment (line 45) | func (dec *propertiesDecoder) processComment(c string) string { method applyPropertyComments (line 52) | func (dec *propertiesDecoder) applyPropertyComments(context Context, p... method applyProperty (line 76) | func (dec *propertiesDecoder) applyProperty(context Context, propertie... method Decode (line 94) | func (dec *propertiesDecoder) Decode() (*CandidateNode, error) { function NewPropertiesDecoder (line 21) | func NewPropertiesDecoder() Decoder { function parsePropKey (line 31) | func parsePropKey(key string) []interface{} { FILE: pkg/yqlib/decoder_test.go type formatScenario (line 10) | type formatScenario struct function processFormatScenario (line 22) | func processFormatScenario(s formatScenario, decoder Decoder, encoder En... function mustProcessFormatScenario (line 67) | func mustProcessFormatScenario(s formatScenario, decoder Decoder, encode... FILE: pkg/yqlib/decoder_toml.go type tomlDecoder (line 17) | type tomlDecoder struct method Init (line 33) | func (dec *tomlDecoder) Init(reader io.Reader) error { method attachOrphanedCommentsToNode (line 50) | func (dec *tomlDecoder) attachOrphanedCommentsToNode(tableNodeValue *C... method getFullPath (line 62) | func (dec *tomlDecoder) getFullPath(tomlNode *toml.Node) []interface{} { method processKeyValueIntoMap (line 73) | func (dec *tomlDecoder) processKeyValueIntoMap(rootMap *CandidateNode,... method decodeKeyValuesIntoMap (line 100) | func (dec *tomlDecoder) decodeKeyValuesIntoMap(rootMap *CandidateNode,... method createInlineTableMap (line 128) | func (dec *tomlDecoder) createInlineTableMap(tomlNode *toml.Node) (*Ca... method createArray (line 158) | func (dec *tomlDecoder) createArray(tomlNode *toml.Node) (*CandidateNo... method createStringScalar (line 195) | func (dec *tomlDecoder) createStringScalar(tomlNode *toml.Node) (*Cand... method createBoolScalar (line 200) | func (dec *tomlDecoder) createBoolScalar(tomlNode *toml.Node) (*Candid... method createIntegerScalar (line 205) | func (dec *tomlDecoder) createIntegerScalar(tomlNode *toml.Node) (*Can... method createDateTimeScalar (line 211) | func (dec *tomlDecoder) createDateTimeScalar(tomlNode *toml.Node) (*Ca... method createFloatScalar (line 217) | func (dec *tomlDecoder) createFloatScalar(tomlNode *toml.Node) (*Candi... method decodeNode (line 223) | func (dec *tomlDecoder) decodeNode(tomlNode *toml.Node) (*CandidateNod... method Decode (line 245) | func (dec *tomlDecoder) Decode() (*CandidateNode, error) { method processTopLevelNode (line 297) | func (dec *tomlDecoder) processTopLevelNode(currentNode *toml.Node) (b... method processTable (line 332) | func (dec *tomlDecoder) processTable(currentNode *toml.Node) (bool, er... method arrayAppend (line 403) | func (dec *tomlDecoder) arrayAppend(context Context, path []interface{... method processArrayTable (line 425) | func (dec *tomlDecoder) processArrayTable(currentNode *toml.Node) (boo... function NewTomlDecoder (line 26) | func NewTomlDecoder() Decoder { function getPathToUse (line 513) | func getPathToUse(fullPath []interface{}, dec *tomlDecoder, c Context) (... FILE: pkg/yqlib/decoder_uri.go type uriDecoder (line 11) | type uriDecoder struct method Init (line 21) | func (dec *uriDecoder) Init(reader io.Reader) error { method Decode (line 28) | func (dec *uriDecoder) Decode() (*CandidateNode, error) { function NewUriDecoder (line 17) | func NewUriDecoder() Decoder { FILE: pkg/yqlib/decoder_uri_test.go function TestUriDecoder_Init (line 13) | func TestUriDecoder_Init(t *testing.T) { function TestUriDecoder_DecodeSimpleString (line 20) | func TestUriDecoder_DecodeSimpleString(t *testing.T) { function TestUriDecoder_DecodeSpecialCharacters (line 32) | func TestUriDecoder_DecodeSpecialCharacters(t *testing.T) { function TestUriDecoder_DecodeUTF8 (line 43) | func TestUriDecoder_DecodeUTF8(t *testing.T) { function TestUriDecoder_DecodePlusSign (line 54) | func TestUriDecoder_DecodePlusSign(t *testing.T) { function TestUriDecoder_DecodeEmptyString (line 67) | func TestUriDecoder_DecodeEmptyString(t *testing.T) { function TestUriDecoder_DecodeMultipleCalls (line 83) | func TestUriDecoder_DecodeMultipleCalls(t *testing.T) { function TestUriDecoder_DecodeInvalidEscape (line 100) | func TestUriDecoder_DecodeInvalidEscape(t *testing.T) { function TestUriDecoder_DecodeSlashAndQuery (line 113) | func TestUriDecoder_DecodeSlashAndQuery(t *testing.T) { function TestUriDecoder_DecodePercent (line 124) | func TestUriDecoder_DecodePercent(t *testing.T) { function TestUriDecoder_DecodeNoEscaping (line 135) | func TestUriDecoder_DecodeNoEscaping(t *testing.T) { type errorReader (line 147) | type errorReader struct method Read (line 149) | func (e *errorReader) Read(_ []byte) (n int, err error) { function TestUriDecoder_DecodeReadError (line 153) | func TestUriDecoder_DecodeReadError(t *testing.T) { FILE: pkg/yqlib/decoder_xml.go type xmlDecoder (line 17) | type xmlDecoder struct method Init (line 31) | func (dec *xmlDecoder) Init(reader io.Reader) error { method createSequence (line 38) | func (dec *xmlDecoder) createSequence(nodes []*xmlNode) (*CandidateNod... method processComment (line 53) | func (dec *xmlDecoder) processComment(c string) string { method createMap (line 66) | func (dec *xmlDecoder) createMap(n *xmlNode) (*CandidateNode, error) { method createValueNodeFromData (line 128) | func (dec *xmlDecoder) createValueNodeFromData(values []string) *Candi... method convertToYamlNode (line 147) | func (dec *xmlDecoder) convertToYamlNode(n *xmlNode) (*CandidateNode, ... method Decode (line 167) | func (dec *xmlDecoder) Decode() (*CandidateNode, error) { method decodeXML (line 238) | func (dec *xmlDecoder) decodeXML(root *xmlNode) error { function NewXMLDecoder (line 24) | func NewXMLDecoder(prefs XmlPreferences) Decoder { type xmlNode (line 194) | type xmlNode struct method AddChild (line 209) | func (n *xmlNode) AddChild(s string, c *xmlNode) { type xmlChildrenKv (line 202) | type xmlChildrenKv struct type element (line 228) | type element struct function applyFootComment (line 351) | func applyFootComment(elem *element, commentStr string) { function joinComments (line 371) | func joinComments(rawStrings []string, joinStr string) string { function trimNonGraphic (line 387) | func trimNonGraphic(s string) string { FILE: pkg/yqlib/decoder_yaml.go type yamlDecoder (line 21) | type yamlDecoder struct method processReadStream (line 42) | func (dec *yamlDecoder) processReadStream(reader *bufio.Reader) (io.Re... method Init (line 112) | func (dec *yamlDecoder) Init(reader io.Reader) error { method Decode (line 141) | func (dec *yamlDecoder) Decode() (*CandidateNode, error) { method blankNodeWithComment (line 183) | func (dec *yamlDecoder) blankNodeWithComment() *CandidateNode { function NewYamlDecoder (line 38) | func NewYamlDecoder(prefs YamlPreferences) Decoder { FILE: pkg/yqlib/encoder.go type Encoder (line 12) | type Encoder interface function mapKeysToStrings (line 19) | func mapKeysToStrings(node *CandidateNode) { function PrintYAMLDocumentSeparator (line 35) | func PrintYAMLDocumentSeparator(writer io.Writer, PrintDocSeparators boo... function PrintYAMLLeadingContent (line 44) | func PrintYAMLLeadingContent(writer io.Writer, content string, PrintDocS... FILE: pkg/yqlib/encoder_base64.go type base64Encoder (line 11) | type base64Encoder struct method CanHandleAliases (line 19) | func (e *base64Encoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 23) | func (e *base64Encoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 27) | func (e *base64Encoder) PrintLeadingContent(_ io.Writer, _ string) err... method Encode (line 31) | func (e *base64Encoder) Encode(writer io.Writer, node *CandidateNode) ... function NewBase64Encoder (line 15) | func NewBase64Encoder() Encoder { FILE: pkg/yqlib/encoder_csv.go type csvEncoder (line 11) | type csvEncoder struct method CanHandleAliases (line 19) | func (e *csvEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 23) | func (e *csvEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 27) | func (e *csvEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method encodeRow (line 31) | func (e *csvEncoder) encodeRow(csvWriter *csv.Writer, contents []*Cand... method encodeArrays (line 44) | func (e *csvEncoder) encodeArrays(csvWriter *csv.Writer, content []*Ca... method extractHeader (line 58) | func (e *csvEncoder) extractHeader(child *CandidateNode) ([]*Candidate... method createChildRow (line 66) | func (e *csvEncoder) createChildRow(child *CandidateNode, headers []*C... method encodeObjects (line 80) | func (e *csvEncoder) encodeObjects(csvWriter *csv.Writer, content []*C... method Encode (line 105) | func (e *csvEncoder) Encode(writer io.Writer, node *CandidateNode) err... function NewCsvEncoder (line 15) | func NewCsvEncoder(prefs CsvPreferences) Encoder { FILE: pkg/yqlib/encoder_hcl.go type hclEncoder (line 18) | type hclEncoder struct method CanHandleAliases (line 32) | func (he *hclEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 36) | func (he *hclEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 40) | func (he *hclEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method Encode (line 44) | func (he *hclEncoder) Encode(writer io.Writer, node *CandidateNode) er... method compactSpacing (line 79) | func (he *hclEncoder) compactSpacing(input []byte) []byte { method collectComments (line 86) | func (he *hclEncoder) collectComments(node *CandidateNode, prefix stri... method injectComments (line 135) | func (he *hclEncoder) injectComments(output []byte, commentMap map[str... method colorizeHcl (line 176) | func (he *hclEncoder) colorizeHcl(input []byte) []byte { method encodeAttribute (line 357) | func (he *hclEncoder) encodeAttribute(body *hclwrite.Body, key string,... method encodeTemplateAttribute (line 399) | func (he *hclEncoder) encodeTemplateAttribute(body *hclwrite.Body, key... method encodeBlockIfMapping (line 447) | func (he *hclEncoder) encodeBlockIfMapping(body *hclwrite.Body, key st... method encodeNode (line 493) | func (he *hclEncoder) encodeNode(body *hclwrite.Body, node *CandidateN... method encodeMappingChildrenAsBlocks (line 535) | func (he *hclEncoder) encodeMappingChildrenAsBlocks(body *hclwrite.Bod... method encodeNodeAttributes (line 587) | func (he *hclEncoder) encodeNodeAttributes(body *hclwrite.Body, node *... constant commentPathSep (line 25) | commentPathSep = "\x1e" function NewHclEncoder (line 28) | func NewHclEncoder(prefs HclPreferences) Encoder { function joinCommentPath (line 127) | func joinCommentPath(prefix, segment string) string { function isHCLIdentifierStart (line 278) | func isHCLIdentifierStart(r rune) bool { function isHCLIdentifierPart (line 282) | func isHCLIdentifierPart(r rune) bool { function isValidHCLIdentifier (line 286) | func isValidHCLIdentifier(s string) bool { function tokensForRawHCLExpr (line 308) | func tokensForRawHCLExpr(expr string) (hclwrite.Tokens, error) { function mappingChildrenAllMappings (line 517) | func mappingChildrenAllMappings(node *CandidateNode) bool { function extractBlockLabels (line 613) | func extractBlockLabels(node *CandidateNode) ([]string, *CandidateNode, ... function nodeToCtyValue (line 635) | func nodeToCtyValue(node *CandidateNode) (cty.Value, error) { FILE: pkg/yqlib/encoder_ini.go type iniEncoder (line 13) | type iniEncoder struct method CanHandleAliases (line 24) | func (ie *iniEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 29) | func (ie *iniEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 34) | func (ie *iniEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method Encode (line 39) | func (ie *iniEncoder) Encode(writer io.Writer, node *CandidateNode) er... function NewINIEncoder (line 18) | func NewINIEncoder() Encoder { function writeStringINI (line 110) | func writeStringINI(writer io.Writer, content string) error { FILE: pkg/yqlib/encoder_json.go type jsonEncoder (line 12) | type jsonEncoder struct method CanHandleAliases (line 27) | func (je *jsonEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 31) | func (je *jsonEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 35) | func (je *jsonEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method Encode (line 39) | func (je *jsonEncoder) Encode(writer io.Writer, node *CandidateNode) e... function NewJSONEncoder (line 17) | func NewJSONEncoder(prefs JsonPreferences) Encoder { FILE: pkg/yqlib/encoder_kyaml.go type kyamlEncoder (line 13) | type kyamlEncoder struct method CanHandleAliases (line 21) | func (ke *kyamlEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 26) | func (ke *kyamlEncoder) PrintDocumentSeparator(writer io.Writer) error { method PrintLeadingContent (line 30) | func (ke *kyamlEncoder) PrintLeadingContent(writer io.Writer, content ... method Encode (line 34) | func (ke *kyamlEncoder) Encode(writer io.Writer, node *CandidateNode) ... method writeNode (line 72) | func (ke *kyamlEncoder) writeNode(writer io.Writer, node *CandidateNod... method writeMapping (line 91) | func (ke *kyamlEncoder) writeMapping(writer io.Writer, node *Candidate... method writeSequence (line 157) | func (ke *kyamlEncoder) writeSequence(writer io.Writer, node *Candidat... method writeIndent (line 196) | func (ke *kyamlEncoder) writeIndent(writer io.Writer, indent int) error { method formatKey (line 203) | func (ke *kyamlEncoder) formatKey(keyNode *CandidateNode) string { method formatScalar (line 212) | func (ke *kyamlEncoder) formatScalar(node *CandidateNode) string { method writeCommentBlock (line 268) | func (ke *kyamlEncoder) writeCommentBlock(writer io.Writer, comment st... method writeInlineComment (line 298) | func (ke *kyamlEncoder) writeInlineComment(writer io.Writer, comment s... function NewKYamlEncoder (line 17) | func NewKYamlEncoder(prefs KYamlPreferences) Encoder { function isValidKYamlBareKey (line 230) | func isValidKYamlBareKey(s string) bool { function escapeDoubleQuotedString (line 238) | func escapeDoubleQuotedString(s string) string { FILE: pkg/yqlib/encoder_lua.go type luaEncoder (line 11) | type luaEncoder struct method CanHandleAliases (line 21) | func (le *luaEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 75) | func (le *luaEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 79) | func (le *luaEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method encodeString (line 83) | func (le *luaEncoder) encodeString(writer io.Writer, node *CandidateNo... method writeIndent (line 108) | func (le *luaEncoder) writeIndent(writer io.Writer) error { method encodeArray (line 119) | func (le *luaEncoder) encodeArray(writer io.Writer, node *CandidateNod... method encodeMap (line 186) | func (le *luaEncoder) encodeMap(writer io.Writer, node *CandidateNode,... method encodeAny (line 268) | func (le *luaEncoder) encodeAny(writer io.Writer, node *CandidateNode)... method encodeTopLevel (line 313) | func (le *luaEncoder) encodeTopLevel(writer io.Writer, node *Candidate... method Encode (line 325) | func (le *luaEncoder) Encode(writer io.Writer, node *CandidateNode) er... function NewLuaEncoder (line 25) | func NewLuaEncoder(prefs LuaPreferences) Encoder { function needsQuoting (line 156) | func needsQuoting(s string) bool { FILE: pkg/yqlib/encoder_properties.go type propertiesEncoder (line 15) | type propertiesEncoder struct method CanHandleAliases (line 25) | func (pe *propertiesEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 29) | func (pe *propertiesEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 33) | func (pe *propertiesEncoder) PrintLeadingContent(writer io.Writer, con... method Encode (line 66) | func (pe *propertiesEncoder) Encode(writer io.Writer, node *CandidateN... method doEncode (line 84) | func (pe *propertiesEncoder) doEncode(p *properties.Properties, node *... method appendPath (line 116) | func (pe *propertiesEncoder) appendPath(path string, key interface{}) ... method encodeArray (line 130) | func (pe *propertiesEncoder) encodeArray(p *properties.Properties, kid... method encodeMap (line 140) | func (pe *propertiesEncoder) encodeMap(p *properties.Properties, kids ... function NewPropertiesEncoder (line 19) | func NewPropertiesEncoder(prefs PropertiesPreferences) Encoder { FILE: pkg/yqlib/encoder_properties_test.go type keyValuePair (line 12) | type keyValuePair struct method String (line 18) | func (kv *keyValuePair) String(unwrap bool, sep string) string { type testProperties (line 40) | type testProperties struct method String (line 44) | func (tp *testProperties) String(unwrap bool, sep string) string { function yamlToProps (line 54) | func yamlToProps(sampleYaml string, unwrapScalar bool, separator string)... function doTest (line 73) | func doTest(t *testing.T, sampleYaml string, props testProperties, testU... function TestPropertiesEncoderSimple (line 90) | func TestPropertiesEncoderSimple(t *testing.T) { function TestPropertiesEncoderSimpleWithComments (line 107) | func TestPropertiesEncoderSimpleWithComments(t *testing.T) { function TestPropertiesEncoderDeep (line 125) | func TestPropertiesEncoderDeep(t *testing.T) { function TestPropertiesEncoderDeepWithComments (line 144) | func TestPropertiesEncoderDeepWithComments(t *testing.T) { function TestPropertiesEncoderArray_Unwrapped (line 164) | func TestPropertiesEncoderArray_Unwrapped(t *testing.T) { function TestPropertiesEncoderArray_Wrapped (line 187) | func TestPropertiesEncoderArray_Wrapped(t *testing.T) { FILE: pkg/yqlib/encoder_sh.go type shEncoder (line 14) | type shEncoder struct method CanHandleAliases (line 22) | func (e *shEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 26) | func (e *shEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 30) | func (e *shEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method Encode (line 34) | func (e *shEncoder) Encode(writer io.Writer, node *CandidateNode) error { method encode (line 43) | func (e *shEncoder) encode(input string) string { method shouldQuote (line 76) | func (e *shEncoder) shouldQuote(ir rune) bool { function NewShEncoder (line 18) | func NewShEncoder() Encoder { FILE: pkg/yqlib/encoder_shellvariables.go type shellVariablesEncoder (line 14) | type shellVariablesEncoder struct method CanHandleAliases (line 24) | func (pe *shellVariablesEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 28) | func (pe *shellVariablesEncoder) PrintDocumentSeparator(_ io.Writer) e... method PrintLeadingContent (line 32) | func (pe *shellVariablesEncoder) PrintLeadingContent(_ io.Writer, _ st... method Encode (line 36) | func (pe *shellVariablesEncoder) Encode(writer io.Writer, node *Candid... method doEncode (line 47) | func (pe *shellVariablesEncoder) doEncode(w *io.Writer, node *Candidat... method appendPath (line 93) | func (pe *shellVariablesEncoder) appendPath(cookedPath string, rawKey ... function NewShellVariablesEncoder (line 18) | func NewShellVariablesEncoder() Encoder { function quoteValue (line 141) | func quoteValue(value string) string { function isAlphaOrUnderscore (line 155) | func isAlphaOrUnderscore(r rune) bool { function isAlphaNumericOrUnderscore (line 159) | func isAlphaNumericOrUnderscore(r rune) bool { FILE: pkg/yqlib/encoder_shellvariables_test.go function assertEncodesTo (line 12) | func assertEncodesTo(t *testing.T, yaml string, shellvars string) { function TestShellVariablesEncoderNonquoting (line 31) | func TestShellVariablesEncoderNonquoting(t *testing.T) { function TestShellVariablesEncoderQuoting (line 35) | func TestShellVariablesEncoderQuoting(t *testing.T) { function TestShellVariablesEncoderQuotesQuoting (line 39) | func TestShellVariablesEncoderQuotesQuoting(t *testing.T) { function TestShellVariablesEncoderStripComments (line 43) | func TestShellVariablesEncoderStripComments(t *testing.T) { function TestShellVariablesEncoderMap (line 47) | func TestShellVariablesEncoderMap(t *testing.T) { function TestShellVariablesEncoderArray_Unwrapped (line 51) | func TestShellVariablesEncoderArray_Unwrapped(t *testing.T) { function TestShellVariablesEncoderKeyNonPrintable (line 55) | func TestShellVariablesEncoderKeyNonPrintable(t *testing.T) { function TestShellVariablesEncoderKeyPrintableNonAlphaNumeric (line 59) | func TestShellVariablesEncoderKeyPrintableNonAlphaNumeric(t *testing.T) { function TestShellVariablesEncoderKeyPrintableNonAscii (line 63) | func TestShellVariablesEncoderKeyPrintableNonAscii(t *testing.T) { function TestShellVariablesEncoderRootKeyStartingWithDigit (line 67) | func TestShellVariablesEncoderRootKeyStartingWithDigit(t *testing.T) { function TestShellVariablesEncoderRootKeyStartingWithUnderscore (line 71) | func TestShellVariablesEncoderRootKeyStartingWithUnderscore(t *testing.T) { function TestShellVariablesEncoderChildStartingWithUnderscore (line 75) | func TestShellVariablesEncoderChildStartingWithUnderscore(t *testing.T) { function TestShellVariablesEncoderEmptyValue (line 79) | func TestShellVariablesEncoderEmptyValue(t *testing.T) { function TestShellVariablesEncoderEmptyArray (line 83) | func TestShellVariablesEncoderEmptyArray(t *testing.T) { function TestShellVariablesEncoderEmptyMap (line 87) | func TestShellVariablesEncoderEmptyMap(t *testing.T) { function TestShellVariablesEncoderScalarNode (line 91) | func TestShellVariablesEncoderScalarNode(t *testing.T) { function assertEncodesToWithSeparator (line 95) | func assertEncodesToWithSeparator(t *testing.T, yaml string, shellvars s... function TestShellVariablesEncoderCustomSeparator (line 123) | func TestShellVariablesEncoderCustomSeparator(t *testing.T) { function TestShellVariablesEncoderCustomSeparatorNested (line 127) | func TestShellVariablesEncoderCustomSeparatorNested(t *testing.T) { function TestShellVariablesEncoderCustomSeparatorArray (line 131) | func TestShellVariablesEncoderCustomSeparatorArray(t *testing.T) { function TestShellVariablesEncoderCustomSeparatorSingleChar (line 135) | func TestShellVariablesEncoderCustomSeparatorSingleChar(t *testing.T) { function assertEncodesToUnwrapped (line 139) | func assertEncodesToUnwrapped(t *testing.T, yaml string, shellvars strin... function TestShellVariablesEncoderUnwrapScalar (line 165) | func TestShellVariablesEncoderUnwrapScalar(t *testing.T) { FILE: pkg/yqlib/encoder_test.go function yamlToJSON (line 14) | func yamlToJSON(t *testing.T, sampleYaml string, indent int) string { function TestJSONEncoderPreservesObjectOrder (line 40) | func TestJSONEncoderPreservesObjectOrder(t *testing.T) { function TestJsonNullInArray (line 60) | func TestJsonNullInArray(t *testing.T) { function TestJsonNull (line 66) | func TestJsonNull(t *testing.T) { function TestJsonNullInObject (line 72) | func TestJsonNullInObject(t *testing.T) { function TestJsonEncoderDoesNotEscapeHTMLChars (line 78) | func TestJsonEncoderDoesNotEscapeHTMLChars(t *testing.T) { FILE: pkg/yqlib/encoder_toml.go type tomlEncoder (line 14) | type tomlEncoder struct method Encode (line 27) | func (te *tomlEncoder) Encode(writer io.Writer, node *CandidateNode) e... method PrintDocumentSeparator (line 58) | func (te *tomlEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 62) | func (te *tomlEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method CanHandleAliases (line 66) | func (te *tomlEncoder) CanHandleAliases() bool { method writeComment (line 72) | func (te *tomlEncoder) writeComment(w io.Writer, comment string) error { method formatScalar (line 89) | func (te *tomlEncoder) formatScalar(node *CandidateNode) string { method encodeRootMapping (line 104) | func (te *tomlEncoder) encodeRootMapping(w io.Writer, node *CandidateN... method encodeTopLevelEntry (line 126) | func (te *tomlEncoder) encodeTopLevelEntry(w io.Writer, path []string,... method writeAttribute (line 179) | func (te *tomlEncoder) writeAttribute(w io.Writer, key string, value *... method writeArrayAttribute (line 203) | func (te *tomlEncoder) writeArrayAttribute(w io.Writer, key string, se... method sequenceToInlineArray (line 342) | func (te *tomlEncoder) sequenceToInlineArray(seq *CandidateNode) (stri... method mappingToInlineTable (line 367) | func (te *tomlEncoder) mappingToInlineTable(m *CandidateNode) (string,... method writeInlineTableAttribute (line 397) | func (te *tomlEncoder) writeInlineTableAttribute(w io.Writer, key stri... method writeTableHeader (line 406) | func (te *tomlEncoder) writeTableHeader(w io.Writer, path []string, m ... method encodeSeparateMapping (line 431) | func (te *tomlEncoder) encodeSeparateMapping(w io.Writer, path []strin... method hasEncodeSeparateChild (line 516) | func (te *tomlEncoder) hasEncodeSeparateChild(m *CandidateNode) bool { method hasStructuralChildren (line 526) | func (te *tomlEncoder) hasStructuralChildren(m *CandidateNode) bool { method encodeMappingBodyWithPath (line 550) | func (te *tomlEncoder) encodeMappingBodyWithPath(w io.Writer, path []s... method colorizeToml (line 616) | func (te *tomlEncoder) colorizeToml(input []byte) []byte { function NewTomlEncoder (line 19) | func NewTomlEncoder() Encoder { function NewTomlEncoderWithPrefs (line 23) | func NewTomlEncoderWithPrefs(prefs TomlPreferences) Encoder { FILE: pkg/yqlib/encoder_uri.go type uriEncoder (line 11) | type uriEncoder struct method CanHandleAliases (line 18) | func (e *uriEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 22) | func (e *uriEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 26) | func (e *uriEncoder) PrintLeadingContent(_ io.Writer, _ string) error { method Encode (line 30) | func (e *uriEncoder) Encode(writer io.Writer, node *CandidateNode) err... function NewUriEncoder (line 14) | func NewUriEncoder() Encoder { FILE: pkg/yqlib/encoder_xml.go type xmlEncoder (line 13) | type xmlEncoder struct method CanHandleAliases (line 29) | func (e *xmlEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 33) | func (e *xmlEncoder) PrintDocumentSeparator(_ io.Writer) error { method PrintLeadingContent (line 37) | func (e *xmlEncoder) PrintLeadingContent(_ io.Writer, content string) ... method Encode (line 42) | func (e *xmlEncoder) Encode(writer io.Writer, node *CandidateNode) err... method encodeTopLevelMap (line 102) | func (e *xmlEncoder) encodeTopLevelMap(encoder *xml.Encoder, node *Can... method encodeStart (line 161) | func (e *xmlEncoder) encodeStart(encoder *xml.Encoder, node *Candidate... method encodeEnd (line 169) | func (e *xmlEncoder) encodeEnd(encoder *xml.Encoder, node *CandidateNo... method doEncode (line 177) | func (e *xmlEncoder) doEncode(encoder *xml.Encoder, node *CandidateNod... method encodeComment (line 208) | func (e *xmlEncoder) encodeComment(encoder *xml.Encoder, commentStr st... method encodeArray (line 241) | func (e *xmlEncoder) encodeArray(encoder *xml.Encoder, node *Candidate... method isAttribute (line 256) | func (e *xmlEncoder) isAttribute(name string) bool { method encodeMap (line 263) | func (e *xmlEncoder) encodeMap(encoder *xml.Encoder, node *CandidateNo... function NewXMLEncoder (line 20) | func NewXMLEncoder(prefs XmlPreferences) Encoder { FILE: pkg/yqlib/encoder_yaml.go type yamlEncoder (line 11) | type yamlEncoder struct method CanHandleAliases (line 19) | func (ye *yamlEncoder) CanHandleAliases() bool { method PrintDocumentSeparator (line 23) | func (ye *yamlEncoder) PrintDocumentSeparator(writer io.Writer) error { method PrintLeadingContent (line 27) | func (ye *yamlEncoder) PrintLeadingContent(writer io.Writer, content s... method Encode (line 31) | func (ye *yamlEncoder) Encode(writer io.Writer, node *CandidateNode) e... function NewYamlEncoder (line 15) | func NewYamlEncoder(prefs YamlPreferences) Encoder { FILE: pkg/yqlib/expression_parser.go type ExpressionNode (line 8) | type ExpressionNode struct type ExpressionParserInterface (line 15) | type ExpressionParserInterface interface type expressionParserImpl (line 19) | type expressionParserImpl struct method ParseExpression (line 28) | func (p *expressionParserImpl) ParseExpression(expression string) (*Ex... method createExpressionTree (line 42) | func (p *expressionParserImpl) createExpressionTree(postFixPath []*Ope... function newExpressionParser (line 24) | func newExpressionParser() ExpressionParserInterface { FILE: pkg/yqlib/expression_parser_test.go function getExpressionParser (line 9) | func getExpressionParser() ExpressionParserInterface { function TestParserCreateMapColonOnItsOwn (line 14) | func TestParserCreateMapColonOnItsOwn(t *testing.T) { function TestParserNoMatchingCloseBracket (line 19) | func TestParserNoMatchingCloseBracket(t *testing.T) { function TestParserNoMatchingCloseCollect (line 24) | func TestParserNoMatchingCloseCollect(t *testing.T) { function TestParserNoMatchingCloseObjectInCollect (line 28) | func TestParserNoMatchingCloseObjectInCollect(t *testing.T) { function TestParserNoMatchingCloseInCollect (line 33) | func TestParserNoMatchingCloseInCollect(t *testing.T) { function TestParserNoMatchingCloseCollectObject (line 38) | func TestParserNoMatchingCloseCollectObject(t *testing.T) { function TestParserNoMatchingCloseCollectInCollectObject (line 43) | func TestParserNoMatchingCloseCollectInCollectObject(t *testing.T) { function TestParserNoMatchingCloseBracketInCollectObject (line 48) | func TestParserNoMatchingCloseBracketInCollectObject(t *testing.T) { function TestParserNoArgsForTwoArgOp (line 53) | func TestParserNoArgsForTwoArgOp(t *testing.T) { function TestParserOneLhsArgsForTwoArgOp (line 58) | func TestParserOneLhsArgsForTwoArgOp(t *testing.T) { function TestParserOneRhsArgsForTwoArgOp (line 63) | func TestParserOneRhsArgsForTwoArgOp(t *testing.T) { function TestParserTwoArgsForTwoArgOp (line 68) | func TestParserTwoArgsForTwoArgOp(t *testing.T) { function TestParserNoArgsForOneArgOp (line 73) | func TestParserNoArgsForOneArgOp(t *testing.T) { function TestParserOneArgForOneArgOp (line 78) | func TestParserOneArgForOneArgOp(t *testing.T) { function TestParserExtraArgs (line 83) | func TestParserExtraArgs(t *testing.T) { function TestParserEmptyExpression (line 88) | func TestParserEmptyExpression(t *testing.T) { function TestParserSingleOperation (line 93) | func TestParserSingleOperation(t *testing.T) { function TestParserFirstOpWithZeroArgs (line 104) | func TestParserFirstOpWithZeroArgs(t *testing.T) { function TestParserInvalidExpressionTree (line 113) | func TestParserInvalidExpressionTree(t *testing.T) { FILE: pkg/yqlib/expression_postfix.go type expressionPostFixer (line 10) | type expressionPostFixer interface type expressionPostFixerImpl (line 14) | type expressionPostFixerImpl struct method ConvertToPostfix (line 40) | func (p *expressionPostFixerImpl) ConvertToPostfix(infixTokens []*toke... function newExpressionPostFixer (line 17) | func newExpressionPostFixer() expressionPostFixer { function popOpToResult (line 21) | func popOpToResult(opStack []*token, result []*Operation) ([]*token, []*... function validateNoOpenTokens (line 28) | func validateNoOpenTokens(token *token) error { FILE: pkg/yqlib/expression_processing_test.go function TestPathParsing (line 318) | func TestPathParsing(t *testing.T) { FILE: pkg/yqlib/file_utils.go function tryRenameFile (line 9) | func tryRenameFile(from string, to string) error { function tryRemoveTempFile (line 32) | func tryRemoveTempFile(filename string) { function copyFileContents (line 41) | func copyFileContents(src, dst string) (err error) { function SafelyCloseReader (line 61) | func SafelyCloseReader(reader io.Reader) { function safelyCloseFile (line 68) | func safelyCloseFile(file *os.File) { function createTempFile (line 76) | func createTempFile() (*os.File, error) { FILE: pkg/yqlib/format.go type EncoderFactoryFunction (line 10) | type EncoderFactoryFunction type DecoderFactoryFunction (line 11) | type DecoderFactoryFunction type Format (line 13) | type Format struct method MatchesName (line 114) | func (f *Format) MatchesName(name string) bool { method GetConfiguredEncoder (line 121) | func (f *Format) GetConfiguredEncoder() Encoder { function FormatStringFromFilename (line 125) | func FormatStringFromFilename(filename string) string { function FormatFromString (line 140) | func FormatFromString(format string) (*Format, error) { function GetAvailableOutputFormats (line 151) | func GetAvailableOutputFormats() []*Format { function GetAvailableOutputFormatString (line 161) | func GetAvailableOutputFormatString() string { function GetAvailableInputFormats (line 175) | func GetAvailableInputFormats() []*Format { function GetAvailableInputFormatString (line 185) | func GetAvailableInputFormatString() string { FILE: pkg/yqlib/format_test.go type formatStringScenario (line 11) | type formatStringScenario struct function TestFormatFromString (line 36) | func TestFormatFromString(t *testing.T) { function TestFormatStringFromFilename (line 54) | func TestFormatStringFromFilename(t *testing.T) { FILE: pkg/yqlib/formatting_expressions_test.go function documentExpressionScenario (line 45) | func documentExpressionScenario(_ *testing.T, w *bufio.Writer, i interfa... function TestExpressionCommentScenarios (line 80) | func TestExpressionCommentScenarios(t *testing.T) { FILE: pkg/yqlib/front_matter.go type frontMatterHandler (line 10) | type frontMatterHandler interface type frontMatterHandlerImpl (line 17) | type frontMatterHandlerImpl struct method GetYamlFrontMatterFilename (line 27) | func (f *frontMatterHandlerImpl) GetYamlFrontMatterFilename() string { method GetContentReader (line 31) | func (f *frontMatterHandlerImpl) GetContentReader() io.Reader { method CleanUp (line 35) | func (f *frontMatterHandlerImpl) CleanUp() { method Split (line 42) | func (f *frontMatterHandlerImpl) Split() error { function NewFrontMatterHandler (line 23) | func NewFrontMatterHandler(originalFilename string) frontMatterHandler { FILE: pkg/yqlib/front_matter_test.go function createTestFile (line 11) | func createTestFile(content string) string { function readFile (line 27) | func readFile(filename string) string { function TestFrontMatterSplitWithLeadingSep (line 35) | func TestFrontMatterSplitWithLeadingSep(t *testing.T) { function TestFrontMatterSplitWithNoLeadingSep (line 74) | func TestFrontMatterSplitWithNoLeadingSep(t *testing.T) { function TestFrontMatterSplitWithArray (line 111) | func TestFrontMatterSplitWithArray(t *testing.T) { FILE: pkg/yqlib/goccy_yaml_test.go function testGoccyYamlScenario (line 274) | func testGoccyYamlScenario(t *testing.T, s formatScenario) { function TestGoccyYmlFormatScenarios (line 278) | func TestGoccyYmlFormatScenarios(t *testing.T) { FILE: pkg/yqlib/hcl.go type HclPreferences (line 3) | type HclPreferences struct method Copy (line 11) | func (p *HclPreferences) Copy() HclPreferences { function NewDefaultHclPreferences (line 7) | func NewDefaultHclPreferences() HclPreferences { FILE: pkg/yqlib/hcl_test.go function testHclScenario (line 477) | func testHclScenario(t *testing.T, s formatScenario) { function documentHclScenario (line 487) | func documentHclScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function documentHclDecodeScenario (line 503) | func documentHclDecodeScenario(w *bufio.Writer, s formatScenario) { function documentHclRoundTripScenario (line 525) | func documentHclRoundTripScenario(w *bufio.Writer, s formatScenario) { function TestHclEncoderPrintDocumentSeparator (line 547) | func TestHclEncoderPrintDocumentSeparator(t *testing.T) { function TestHclEncoderPrintLeadingContent (line 559) | func TestHclEncoderPrintLeadingContent(t *testing.T) { function TestHclEncoderCanHandleAliases (line 571) | func TestHclEncoderCanHandleAliases(t *testing.T) { function TestHclFormatScenarios (line 576) | func TestHclFormatScenarios(t *testing.T) { FILE: pkg/yqlib/ini.go type INIPreferences (line 3) | type INIPreferences struct method Copy (line 13) | func (p *INIPreferences) Copy() INIPreferences { function NewDefaultINIPreferences (line 7) | func NewDefaultINIPreferences() INIPreferences { FILE: pkg/yqlib/ini_test.go constant simpleINIInput (line 13) | simpleINIInput = `[section] constant expectedSimpleINIOutput (line 17) | expectedSimpleINIOutput = `[section] constant expectedSimpleINIYaml (line 21) | expectedSimpleINIYaml = `section: function documentRoundtripINIScenario (line 52) | func documentRoundtripINIScenario(w *bufio.Writer, s formatScenario) { function documentDecodeINIScenario (line 76) | func documentDecodeINIScenario(w *bufio.Writer, s formatScenario) { function testINIScenario (line 100) | func testINIScenario(t *testing.T, s formatScenario) { function documentINIScenario (line 120) | func documentINIScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function documentINIEncodeScenario (line 139) | func documentINIEncodeScenario(w *bufio.Writer, s formatScenario) { function documentDecodeErrorINIScenario (line 163) | func documentDecodeErrorINIScenario(w *bufio.Writer, s formatScenario) { function TestINIScenarios (line 178) | func TestINIScenarios(t *testing.T) { FILE: pkg/yqlib/json.go type JsonPreferences (line 3) | type JsonPreferences struct method Copy (line 17) | func (p *JsonPreferences) Copy() JsonPreferences { function NewDefaultJsonPreferences (line 9) | func NewDefaultJsonPreferences() JsonPreferences { FILE: pkg/yqlib/json_test.go constant complexExpectYaml (line 14) | complexExpectYaml = `a: Easy! as one two three constant sampleNdJson (line 22) | sampleNdJson = `{"this": "is a multidoc json file"} constant sampleNdJsonKey (line 27) | sampleNdJsonKey = `{"a": "first", "b": "next", "ab": "last"}` constant expectedJsonKeysInOrder (line 29) | expectedJsonKeysInOrder = `a: first constant expectedNdJsonYaml (line 34) | expectedNdJsonYaml = `this: is a multidoc json file constant expectedRoundTripSampleNdJson (line 42) | expectedRoundTripSampleNdJson = `{"this":"is a multidoc json file"} constant expectedUpdatedMultilineJson (line 47) | expectedUpdatedMultilineJson = `{"this":"is a multidoc json file"} constant sampleMultiLineJson (line 52) | sampleMultiLineJson = `{ constant roundTripMultiLineJson (line 67) | roundTripMultiLineJson = `{ function documentRoundtripNdJsonScenario (line 310) | func documentRoundtripNdJsonScenario(w *bufio.Writer, s formatScenario, ... function documentDecodeNdJsonScenario (line 338) | func documentDecodeNdJsonScenario(w *bufio.Writer, s formatScenario) { function decodeJSON (line 363) | func decodeJSON(t *testing.T, jsonString string) *CandidateNode { function testJSONScenario (line 388) | func testJSONScenario(t *testing.T, s formatScenario) { function documentJSONDecodeScenario (line 416) | func documentJSONDecodeScenario(t *testing.T, w *bufio.Writer, s formatS... function documentJSONScenario (line 445) | func documentJSONScenario(t *testing.T, w *bufio.Writer, i interface{}) { function documentJSONEncodeScenario (line 467) | func documentJSONEncodeScenario(w *bufio.Writer, s formatScenario) { function TestJSONScenarios (line 498) | func TestJSONScenarios(t *testing.T) { FILE: pkg/yqlib/kyaml.go type KYamlPreferences (line 5) | type KYamlPreferences struct method Copy (line 21) | func (p *KYamlPreferences) Copy() KYamlPreferences { function NewDefaultKYamlPreferences (line 12) | func NewDefaultKYamlPreferences() KYamlPreferences { FILE: pkg/yqlib/kyaml_test.go function stripANSI (line 18) | func stripANSI(s string) string { function testKYamlScenario (line 213) | func testKYamlScenario(t *testing.T, s formatScenario) { function documentKYamlScenario (line 231) | func documentKYamlScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function documentKYamlEncodeScenario (line 245) | func documentKYamlEncodeScenario(w *bufio.Writer, s formatScenario) { function TestKYamlFormatScenarios (line 278) | func TestKYamlFormatScenarios(t *testing.T) { function TestKYamlEncoderPrintDocumentSeparator (line 290) | func TestKYamlEncoderPrintDocumentSeparator(t *testing.T) { function TestKYamlEncoderEncodeUnwrapScalar (line 320) | func TestKYamlEncoderEncodeUnwrapScalar(t *testing.T) { function TestKYamlEncoderEncodeColorsEnabled (line 338) | func TestKYamlEncoderEncodeColorsEnabled(t *testing.T) { function TestKYamlEncoderWriteNodeAliasAndUnknown (line 361) | func TestKYamlEncoderWriteNodeAliasAndUnknown(t *testing.T) { function TestKYamlEncoderEmptyCollections (line 401) | func TestKYamlEncoderEmptyCollections(t *testing.T) { function TestKYamlEncoderScalarFallbackAndEscaping (line 427) | func TestKYamlEncoderScalarFallbackAndEscaping(t *testing.T) { function TestKYamlEncoderCommentsInMapping (line 462) | func TestKYamlEncoderCommentsInMapping(t *testing.T) { function TestKYamlEncoderCommentBlockAndInlineComment (line 506) | func TestKYamlEncoderCommentBlockAndInlineComment(t *testing.T) { FILE: pkg/yqlib/lexer.go type expressionTokeniser (line 8) | type expressionTokeniser interface type tokenType (line 12) | type tokenType constant operationToken (line 15) | operationToken = 1 << iota constant openBracket (line 16) | openBracket constant closeBracket (line 17) | closeBracket constant openCollect (line 18) | openCollect constant closeCollect (line 19) | closeCollect constant openCollectObject (line 20) | openCollectObject constant closeCollectObject (line 21) | closeCollectObject constant traverseArrayCollect (line 22) | traverseArrayCollect type token (line 25) | type token struct method toString (line 33) | func (t *token) toString(detail bool) string { function unwrap (line 59) | func unwrap(value string) string { function extractNumberParameter (line 63) | func extractNumberParameter(value string) (int, error) { function hasOptionParameter (line 73) | func hasOptionParameter(value string, option string) bool { function postProcessTokens (line 84) | func postProcessTokens(tokens []*token) []*token { function tokenIsOpType (line 100) | func tokenIsOpType(token *token, opType *operationType) bool { function handleToken (line 104) | func handleToken(tokens []*token, index int, postProcessedTokens []*toke... FILE: pkg/yqlib/lexer_participle.go type yqAction (line 236) | type yqAction type participleYqRule (line 238) | type participleYqRule struct type participleLexer (line 245) | type participleLexer struct method getYqDefinition (line 572) | func (p *participleLexer) getYqDefinition(rawToken lexer.Token) *parti... method Tokenise (line 581) | func (p *participleLexer) Tokenise(expression string) ([]*token, error) { function simpleOp (line 249) | func simpleOp(name string, opType *operationType) *participleYqRule { function assignableOp (line 253) | func assignableOp(name string, opType *operationType, assignOpType *oper... function newParticipleLexer (line 257) | func newParticipleLexer() expressionTokeniser { function pathToken (line 272) | func pathToken(wrapped bool) yqAction { function recursiveDecentOpToken (line 292) | func recursiveDecentOpToken(includeMapKeys bool) yqAction { function opTokenWithPrefs (line 303) | func opTokenWithPrefs(opType *operationType, assignOpType *operationType... function expressionOpToken (line 315) | func expressionOpToken(expression string) yqAction { function flattenWithDepth (line 323) | func flattenWithDepth() yqAction { function assignAllCommentsOp (line 337) | func assignAllCommentsOp(updateAssign bool) yqAction { function assignOpToken (line 352) | func assignOpToken(updateAssign bool) yqAction { function booleanValue (line 365) | func booleanValue(val bool) yqAction { function nullValue (line 371) | func nullValue() yqAction { function stringValue (line 377) | func stringValue() yqAction { function envOp (line 391) | func envOp(strenv bool) yqAction { function envSubstWithOptions (line 413) | func envSubstWithOptions() yqAction { function multiplyWithPrefs (line 433) | func multiplyWithPrefs(op *operationType) yqAction { function getVariableOpToken (line 461) | func getVariableOpToken() yqAction { function hexValue (line 474) | func hexValue() yqAction { function floatValue (line 488) | func floatValue() yqAction { function numberValue (line 499) | func numberValue() yqAction { function parentWithLevel (line 511) | func parentWithLevel() yqAction { function parentWithDefaultLevel (line 525) | func parentWithDefaultLevel() yqAction { function encodeParseIndent (line 533) | func encodeParseIndent(outputFormat *Format) yqAction { function encodeWithIndent (line 547) | func encodeWithIndent(outputFormat *Format, indent int) yqAction { function decodeOp (line 552) | func decodeOp(format *Format) yqAction { function loadOp (line 557) | func loadOp(decoder Decoder) yqAction { function opToken (line 562) | func opToken(op *operationType) yqAction { function literalToken (line 566) | func literalToken(tt tokenType, checkForPost bool) yqAction { FILE: pkg/yqlib/lexer_participle_test.go type participleLexerScenario (line 10) | type participleLexerScenario struct function TestParticipleLexer (line 793) | func TestParticipleLexer(t *testing.T) { FILE: pkg/yqlib/lib.go function InitExpressionParser (line 16) | func InitExpressionParser() { function GetLogger (line 27) | func GetLogger() *logging.Logger { function getContentValueByKey (line 31) | func getContentValueByKey(content []*CandidateNode, key string) *Candida... function recurseNodeArrayEqual (line 42) | func recurseNodeArrayEqual(lhs *CandidateNode, rhs *CandidateNode) bool { function findInArray (line 55) | func findInArray(array *CandidateNode, item *CandidateNode) int { function findKeyInMap (line 65) | func findKeyInMap(dataMap *CandidateNode, item *CandidateNode) int { function recurseNodeObjectEqual (line 75) | func recurseNodeObjectEqual(lhs *CandidateNode, rhs *CandidateNode) bool { function parseSnippet (line 93) | func parseSnippet(value string) (*CandidateNode, error) { function recursiveNodeEqual (line 129) | func recursiveNodeEqual(lhs *CandidateNode, rhs *CandidateNode) bool { function parseInt64 (line 160) | func parseInt64(numberString string) (string, int64, error) { function parseInt (line 177) | func parseInt(numberString string) (int, error) { function processEscapeCharacters (line 189) | func processEscapeCharacters(original string) string { function headAndLineComment (line 259) | func headAndLineComment(node *CandidateNode) string { function headComment (line 263) | func headComment(node *CandidateNode) string { function lineComment (line 267) | func lineComment(node *CandidateNode) string { function footComment (line 271) | func footComment(node *CandidateNode) string { function NodesToString (line 276) | func NodesToString(collection *list.List) string { function NodeToString (line 288) | func NodeToString(node *CandidateNode) string { function NodeContentToString (line 306) | func NodeContentToString(node *CandidateNode, depth int) string { function KindString (line 323) | func KindString(kind Kind) string { FILE: pkg/yqlib/lib_test.go function TestGetLogger (line 11) | func TestGetLogger(t *testing.T) { type parseSnippetScenario (line 18) | type parseSnippetScenario struct function TestParseSnippet (line 98) | func TestParseSnippet(t *testing.T) { type parseInt64Scenario (line 117) | type parseInt64Scenario struct function TestParseInt64 (line 148) | func TestParseInt64(t *testing.T) { function TestGetContentValueByKey (line 165) | func TestGetContentValueByKey(t *testing.T) { function TestRecurseNodeArrayEqual (line 191) | func TestRecurseNodeArrayEqual(t *testing.T) { function TestFindInArray (line 229) | func TestFindInArray(t *testing.T) { function TestFindKeyInMap (line 249) | func TestFindKeyInMap(t *testing.T) { function TestRecurseNodeObjectEqual (line 269) | func TestRecurseNodeObjectEqual(t *testing.T) { function TestParseInt (line 305) | func TestParseInt(t *testing.T) { function TestHeadAndLineComment (line 352) | func TestHeadAndLineComment(t *testing.T) { function TestHeadComment (line 362) | func TestHeadComment(t *testing.T) { function TestLineComment (line 376) | func TestLineComment(t *testing.T) { function TestFootComment (line 390) | func TestFootComment(t *testing.T) { function TestKindString (line 404) | func TestKindString(t *testing.T) { type processEscapeCharactersScenario (line 412) | type processEscapeCharactersScenario struct function TestProcessEscapeCharacters (line 524) | func TestProcessEscapeCharacters(t *testing.T) { FILE: pkg/yqlib/lua.go type LuaPreferences (line 3) | type LuaPreferences struct function NewDefaultLuaPreferences (line 10) | func NewDefaultLuaPreferences() LuaPreferences { FILE: pkg/yqlib/lua_test.go function testLuaScenario (line 253) | func testLuaScenario(t *testing.T, s formatScenario) { function documentLuaScenario (line 280) | func documentLuaScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function documentLuaDecodeScenario (line 298) | func documentLuaDecodeScenario(w *bufio.Writer, s formatScenario) { function documentLuaEncodeScenario (line 320) | func documentLuaEncodeScenario(w *bufio.Writer, s formatScenario) { function documentLuaRoundTripScenario (line 362) | func documentLuaRoundTripScenario(w *bufio.Writer, s formatScenario) { function TestLuaScenarios (line 380) | func TestLuaScenarios(t *testing.T) { FILE: pkg/yqlib/matchKeyString.go function matchKey (line 3) | func matchKey(name string, pattern string) (matched bool) { function deepMatch (line 16) | func deepMatch(name, pattern string) bool { FILE: pkg/yqlib/matchKeyString_test.go function TestDeepMatch (line 8) | func TestDeepMatch(t *testing.T) { FILE: pkg/yqlib/no_base64.go function NewBase64Decoder (line 5) | func NewBase64Decoder() Decoder { function NewBase64Encoder (line 9) | func NewBase64Encoder() Encoder { FILE: pkg/yqlib/no_csv.go function NewCSVObjectDecoder (line 5) | func NewCSVObjectDecoder(prefs CsvPreferences) Decoder { function NewCsvEncoder (line 9) | func NewCsvEncoder(prefs CsvPreferences) Encoder { FILE: pkg/yqlib/no_hcl.go function NewHclDecoder (line 5) | func NewHclDecoder() Decoder { function NewHclEncoder (line 9) | func NewHclEncoder(_ HclPreferences) Encoder { FILE: pkg/yqlib/no_ini.go function NewINIDecoder (line 5) | func NewINIDecoder() Decoder { function NewINIEncoder (line 9) | func NewINIEncoder() Encoder { FILE: pkg/yqlib/no_json.go function NewJSONDecoder (line 5) | func NewJSONDecoder() Decoder { function NewJSONEncoder (line 9) | func NewJSONEncoder(prefs JsonPreferences) Encoder { FILE: pkg/yqlib/no_kyaml.go function NewKYamlEncoder (line 5) | func NewKYamlEncoder(_ KYamlPreferences) Encoder { FILE: pkg/yqlib/no_lua.go function NewLuaEncoder (line 5) | func NewLuaEncoder(prefs LuaPreferences) Encoder { function NewLuaDecoder (line 9) | func NewLuaDecoder(prefs LuaPreferences) Decoder { FILE: pkg/yqlib/no_props.go function NewPropertiesDecoder (line 5) | func NewPropertiesDecoder() Decoder { function NewPropertiesEncoder (line 9) | func NewPropertiesEncoder(prefs PropertiesPreferences) Encoder { FILE: pkg/yqlib/no_sh.go function NewShEncoder (line 5) | func NewShEncoder() Encoder { FILE: pkg/yqlib/no_shellvariables.go function NewShellVariablesEncoder (line 5) | func NewShellVariablesEncoder() Encoder { FILE: pkg/yqlib/no_toml.go function NewTomlDecoder (line 5) | func NewTomlDecoder() Decoder { function NewTomlEncoder (line 9) | func NewTomlEncoder() Encoder { function NewTomlEncoderWithPrefs (line 13) | func NewTomlEncoderWithPrefs(prefs TomlPreferences) Encoder { FILE: pkg/yqlib/no_uri.go function NewUriDecoder (line 5) | func NewUriDecoder() Decoder { function NewUriEncoder (line 9) | func NewUriEncoder() Encoder { FILE: pkg/yqlib/no_xml.go function NewXMLDecoder (line 5) | func NewXMLDecoder(prefs XmlPreferences) Decoder { function NewXMLEncoder (line 9) | func NewXMLEncoder(prefs XmlPreferences) Encoder { FILE: pkg/yqlib/operation.go type Operation (line 5) | type Operation struct method toString (line 201) | func (p *Operation) toString() string { type operationType (line 14) | type operationType struct function createValueOperation (line 27) | func createValueOperation(value interface{}, stringValue string) *Operat... FILE: pkg/yqlib/operator_add.go function createAddOp (line 10) | func createAddOp(lhs *ExpressionNode, rhs *ExpressionNode) *ExpressionNo... function addAssignOperator (line 16) | func addAssignOperator(d *dataTreeNavigator, context Context, expression... function toNodes (line 20) | func toNodes(candidate *CandidateNode, lhs *CandidateNode) []*CandidateN... function addOperator (line 39) | func addOperator(d *dataTreeNavigator, context Context, expressionNode *... function add (line 48) | func add(_ *dataTreeNavigator, context Context, lhs *CandidateNode, rhs ... function addScalars (line 84) | func addScalars(context Context, target *CandidateNode, lhs *CandidateNo... function addDateTimes (line 150) | func addDateTimes(layout string, target *CandidateNode, lhs *CandidateNo... function addSequences (line 168) | func addSequences(target *CandidateNode, lhs *CandidateNode, rhs *Candid... function addMaps (line 183) | func addMaps(target *CandidateNode, lhsC *CandidateNode, rhsC *Candidate... FILE: pkg/yqlib/operator_add_test.go function TestAddOperatorScenarios (line 532) | func TestAddOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_alternative.go function alternativeOperator (line 3) | func alternativeOperator(d *dataTreeNavigator, context Context, expressi... function alternativeFunc (line 22) | func alternativeFunc(_ *dataTreeNavigator, _ Context, lhs *CandidateNode... FILE: pkg/yqlib/operator_alternative_test.go function TestAlternativeOperatorScenarios (line 108) | func TestAlternativeOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_anchors_aliases.go function assignAliasOperator (line 10) | func assignAliasOperator(d *dataTreeNavigator, context Context, expressi... function getAliasOperator (line 53) | func getAliasOperator(_ *dataTreeNavigator, context Context, _ *Expressi... function assignAnchorOperator (line 65) | func assignAnchorOperator(d *dataTreeNavigator, context Context, express... function getAnchorOperator (line 107) | func getAnchorOperator(_ *dataTreeNavigator, context Context, _ *Express... function explodeOperator (line 120) | func explodeOperator(d *dataTreeNavigator, context Context, expressionNo... function fixedReconstructAliasedMap (line 143) | func fixedReconstructAliasedMap(node *CandidateNode) error { function reconstructAliasedMap (line 196) | func reconstructAliasedMap(node *CandidateNode, context Context) error { function explodeNode (line 236) | func explodeNode(node *CandidateNode, context Context) error { function applyAlias (line 302) | func applyAlias(node *CandidateNode, alias *CandidateNode, aliasIndex in... function overrideEntry (line 323) | func overrideEntry(node *CandidateNode, key *CandidateNode, value *Candi... FILE: pkg/yqlib/operator_anchors_aliases_test.go function TestAnchorAliasOperatorScenarios (line 502) | func TestAnchorAliasOperatorScenarios(t *testing.T) { function TestAnchorAliasOperatorAlignedToSpecScenarios (line 509) | func TestAnchorAliasOperatorAlignedToSpecScenarios(t *testing.T) { FILE: pkg/yqlib/operator_array_to_map_test.go function TestArrayToMapScenarios (line 18) | func TestArrayToMapScenarios(t *testing.T) { FILE: pkg/yqlib/operator_assign.go type assignPreferences (line 3) | type assignPreferences struct function assignUpdateFunc (line 9) | func assignUpdateFunc(prefs assignPreferences) crossFunctionCalculation { function getAssignPreferences (line 20) | func getAssignPreferences(preferences interface{}) assignPreferences { function assignUpdateOperator (line 32) | func assignUpdateOperator(d *dataTreeNavigator, context Context, express... function assignAttributesOperator (line 74) | func assignAttributesOperator(d *dataTreeNavigator, context Context, exp... FILE: pkg/yqlib/operator_assign_test.go function TestAssignOperatorScenarios (line 252) | func TestAssignOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_booleans.go function isTruthyNode (line 9) | func isTruthyNode(node *CandidateNode) bool { function getOwner (line 27) | func getOwner(lhs *CandidateNode, rhs *CandidateNode) *CandidateNode { function returnRhsTruthy (line 38) | func returnRhsTruthy(_ *dataTreeNavigator, _ Context, lhs *CandidateNode... function returnLHSWhen (line 45) | func returnLHSWhen(targetBool bool) func(lhs *CandidateNode) (*Candidate... function findBoolean (line 61) | func findBoolean(wantBool bool, d *dataTreeNavigator, context Context, e... function allOperator (line 85) | func allOperator(d *dataTreeNavigator, context Context, expressionNode *... function anyOperator (line 103) | func anyOperator(d *dataTreeNavigator, context Context, expressionNode *... function orOperator (line 121) | func orOperator(d *dataTreeNavigator, context Context, expressionNode *E... function andOperator (line 130) | func andOperator(d *dataTreeNavigator, context Context, expressionNode *... function notOperator (line 139) | func notOperator(_ *dataTreeNavigator, context Context, _ *ExpressionNod... FILE: pkg/yqlib/operator_booleans_test.go function TestBooleanOperatorScenarios (line 271) | func TestBooleanOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_collect.go function collectTogether (line 7) | func collectTogether(d *dataTreeNavigator, context Context, expressionNo... function collectOperator (line 24) | func collectOperator(d *dataTreeNavigator, context Context, expressionNo... FILE: pkg/yqlib/operator_collect_object.go function collectObjectOperator (line 19) | func collectObjectOperator(d *dataTreeNavigator, originalContext Context... function collect (line 75) | func collect(d *dataTreeNavigator, context Context, remainingMatches *li... FILE: pkg/yqlib/operator_collect_object_test.go function TestCollectObjectOperatorScenarios (line 204) | func TestCollectObjectOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_collect_test.go function TestCollectOperatorScenarios (line 139) | func TestCollectOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_column.go function columnOperator (line 8) | func columnOperator(_ *dataTreeNavigator, context Context, _ *Expression... FILE: pkg/yqlib/operator_column_test.go function TestColumnOperatorScenarios (line 42) | func TestColumnOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_comments.go type commentOpPreferences (line 10) | type commentOpPreferences struct function assignCommentsOperator (line 16) | func assignCommentsOperator(d *dataTreeNavigator, context Context, expre... function getCommentsOperator (line 75) | func getCommentsOperator(_ *dataTreeNavigator, context Context, expressi... FILE: pkg/yqlib/operator_comments_test.go function TestCommentOperatorScenarios (line 301) | func TestCommentOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_compare.go type compareTypePref (line 9) | type compareTypePref struct function compareOperator (line 14) | func compareOperator(d *dataTreeNavigator, context Context, expressionNo... function compare (line 20) | func compare(prefs compareTypePref) func(d *dataTreeNavigator, context C... function compareDateTime (line 51) | func compareDateTime(layout string, prefs compareTypePref, lhs *Candidat... function compareScalars (line 72) | func compareScalars(context Context, prefs compareTypePref, lhs *Candida... function superlativeByComparison (line 134) | func superlativeByComparison(d *dataTreeNavigator, context Context, pref... function minOperator (line 161) | func minOperator(d *dataTreeNavigator, context Context, _ *ExpressionNod... function maxOperator (line 166) | func maxOperator(d *dataTreeNavigator, context Context, _ *ExpressionNod... FILE: pkg/yqlib/operator_contains.go function containsOperator (line 8) | func containsOperator(d *dataTreeNavigator, context Context, expressionN... function containsArrayElement (line 12) | func containsArrayElement(array *CandidateNode, item *CandidateNode) (bo... function containsArray (line 25) | func containsArray(lhs *CandidateNode, rhs *CandidateNode) (bool, error) { function containsObject (line 41) | func containsObject(lhs *CandidateNode, rhs *CandidateNode) (bool, error) { function containsScalars (line 69) | func containsScalars(lhs *CandidateNode, rhs *CandidateNode) (bool, erro... function contains (line 76) | func contains(lhs *CandidateNode, rhs *CandidateNode) (bool, error) { function containsWithNodes (line 95) | func containsWithNodes(_ *dataTreeNavigator, _ Context, lhs *CandidateNo... FILE: pkg/yqlib/operator_contains_test.go function TestContainsOperatorScenarios (line 86) | func TestContainsOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_create_map.go function createMapOperator (line 7) | func createMapOperator(d *dataTreeNavigator, context Context, expression... function sequenceFor (line 39) | func sequenceFor(d *dataTreeNavigator, context Context, matchingNode *Ca... function listToNodeSeq (line 83) | func listToNodeSeq(list *list.List) *CandidateNode { FILE: pkg/yqlib/operator_create_map_test.go function TestCreateMapOperatorScenarios (line 109) | func TestCreateMapOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_datetime.go function getStringParameter (line 11) | func getStringParameter(parameterName string, d *dataTreeNavigator, cont... function withDateTimeFormat (line 23) | func withDateTimeFormat(d *dataTreeNavigator, context Context, expressio... function nowOp (line 40) | func nowOp(_ *dataTreeNavigator, context Context, _ *ExpressionNode) (Co... function parseDateTime (line 52) | func parseDateTime(layout string, datestring string) (time.Time, error) { function formatDateTime (line 63) | func formatDateTime(d *dataTreeNavigator, context Context, expressionNod... function tzOp (line 98) | func tzOp(d *dataTreeNavigator, context Context, expressionNode *Express... function parseUnixTime (line 127) | func parseUnixTime(unixTime string) (time.Time, error) { function fromUnixOp (line 137) | func fromUnixOp(_ *dataTreeNavigator, context Context, _ *ExpressionNode... function toUnixOp (line 163) | func toUnixOp(_ *dataTreeNavigator, context Context, _ *ExpressionNode) ... FILE: pkg/yqlib/operator_datetime_test.go function TestDatetimeOperatorScenarios (line 131) | func TestDatetimeOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_delete.go function deleteChildOperator (line 8) | func deleteChildOperator(d *dataTreeNavigator, context Context, expressi... function removeFromContext (line 41) | func removeFromContext(context Context, candidate *CandidateNode) (Conte... function deleteFromMap (line 54) | func deleteFromMap(node *CandidateNode, childPath interface{}) { function deleteFromArray (line 74) | func deleteFromArray(node *CandidateNode, childPath interface{}) { FILE: pkg/yqlib/operator_delete_test.go function TestDeleteOperatorScenarios (line 247) | func TestDeleteOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_divide.go function divideOperator (line 9) | func divideOperator(d *dataTreeNavigator, context Context, expressionNod... function divide (line 15) | func divide(_ *dataTreeNavigator, _ Context, lhs *CandidateNode, rhs *Ca... function divideScalars (line 33) | func divideScalars(target *CandidateNode, lhs *CandidateNode, rhs *Candi... FILE: pkg/yqlib/operator_divide_test.go function TestDivideOperatorScenarios (line 125) | func TestDivideOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_document_index.go function getDocumentIndexOperator (line 8) | func getDocumentIndexOperator(_ *dataTreeNavigator, context Context, _ *... FILE: pkg/yqlib/operator_document_index_test.go function TestDocumentIndexScenarios (line 53) | func TestDocumentIndexScenarios(t *testing.T) { FILE: pkg/yqlib/operator_encoder_decoder.go function configureEncoder (line 12) | func configureEncoder(format *Format, indent int) Encoder { function encodeToString (line 34) | func encodeToString(candidate *CandidateNode, prefs encoderPreferences) ... type encoderPreferences (line 48) | type encoderPreferences struct function encodeOperator (line 56) | func encodeOperator(_ *dataTreeNavigator, context Context, expressionNod... type decoderPreferences (line 95) | type decoderPreferences struct function decodeOperator (line 100) | func decodeOperator(_ *dataTreeNavigator, context Context, expressionNod... FILE: pkg/yqlib/operator_encoder_decoder_test.go function TestEncoderDecoderOperatorScenarios (line 340) | func TestEncoderDecoderOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_entries.go function entrySeqFor (line 8) | func entrySeqFor(key *CandidateNode, value *CandidateNode) *CandidateNode { function toEntriesFromMap (line 17) | func toEntriesFromMap(candidateNode *CandidateNode) *CandidateNode { function toEntriesfromSeq (line 30) | func toEntriesfromSeq(candidateNode *CandidateNode) *CandidateNode { function toEntriesOperator (line 43) | func toEntriesOperator(_ *dataTreeNavigator, context Context, _ *Express... function parseEntry (line 64) | func parseEntry(candidateNode *CandidateNode, position int) (*CandidateN... function fromEntries (line 87) | func fromEntries(candidateNode *CandidateNode) (*CandidateNode, error) { function fromEntriesOperator (line 105) | func fromEntriesOperator(_ *dataTreeNavigator, context Context, _ *Expre... function withEntriesOperator (line 125) | func withEntriesOperator(d *dataTreeNavigator, context Context, expressi... FILE: pkg/yqlib/operator_entries_test.go function TestEntriesOperatorScenarios (line 140) | func TestEntriesOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_env.go type envOpPreferences (line 12) | type envOpPreferences struct function envOperator (line 19) | func envOperator(_ *dataTreeNavigator, context Context, expressionNode *... function envsubstOperator (line 59) | func envsubstOperator(_ *dataTreeNavigator, context Context, expressionN... FILE: pkg/yqlib/operator_env_test.go function TestEnvOperatorScenarios (line 175) | func TestEnvOperatorScenarios(t *testing.T) { function TestEnvOperatorSecurityDisabledScenarios (line 203) | func TestEnvOperatorSecurityDisabledScenarios(t *testing.T) { FILE: pkg/yqlib/operator_equals.go function equalsOperator (line 3) | func equalsOperator(d *dataTreeNavigator, context Context, expressionNod... function isEquals (line 8) | func isEquals(flip bool) func(d *dataTreeNavigator, context Context, lhs... function notEqualsOperator (line 45) | func notEqualsOperator(d *dataTreeNavigator, context Context, expression... FILE: pkg/yqlib/operator_equals_test.go function TestEqualOperatorScenarios (line 192) | func TestEqualOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_error.go function errorOperator (line 7) | func errorOperator(d *dataTreeNavigator, context Context, expressionNode... FILE: pkg/yqlib/operator_error_test.go constant validationExpression (line 5) | validationExpression = ` function TestErrorOperatorScenarios (line 35) | func TestErrorOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_eval.go function evalOperator (line 7) | func evalOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_eval_test.go function TestEvalOperatorsScenarios (line 38) | func TestEvalOperatorsScenarios(t *testing.T) { FILE: pkg/yqlib/operator_expression.go type expressionOpPreferences (line 3) | type expressionOpPreferences struct function expressionOperator (line 7) | func expressionOperator(d *dataTreeNavigator, context Context, expressio... FILE: pkg/yqlib/operator_file.go function getFilenameOperator (line 8) | func getFilenameOperator(_ *dataTreeNavigator, context Context, _ *Expre... function getFileIndexOperator (line 22) | func getFileIndexOperator(_ *dataTreeNavigator, context Context, _ *Expr... FILE: pkg/yqlib/operator_file_test.go function TestFileOperatorsScenarios (line 52) | func TestFileOperatorsScenarios(t *testing.T) { FILE: pkg/yqlib/operator_filter.go function filterOperator (line 7) | func filterOperator(d *dataTreeNavigator, context Context, expressionNod... FILE: pkg/yqlib/operator_filter_test.go function TestFilterOperatorScenarios (line 62) | func TestFilterOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_first.go function firstOperator (line 5) | func firstOperator(d *dataTreeNavigator, context Context, expressionNode... FILE: pkg/yqlib/operator_first_test.go function TestFirstOperatorScenarios (line 181) | func TestFirstOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_flatten.go type flattenPreferences (line 7) | type flattenPreferences struct function flatten (line 11) | func flatten(node *CandidateNode, depth int) { function flattenOp (line 35) | func flattenOp(_ *dataTreeNavigator, context Context, expressionNode *Ex... FILE: pkg/yqlib/operator_flatten_test.go function TestFlattenOperatorScenarios (line 65) | func TestFlattenOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_group_by.go function processIntoGroups (line 10) | func processIntoGroups(d *dataTreeNavigator, context Context, rhsExp *Ex... function groupBy (line 38) | func groupBy(d *dataTreeNavigator, context Context, expressionNode *Expr... FILE: pkg/yqlib/operator_group_by_test.go function TestGroupByOperatorScenarios (line 36) | func TestGroupByOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_has.go function hasOperator (line 8) | func hasOperator(d *dataTreeNavigator, context Context, expressionNode *... FILE: pkg/yqlib/operator_has_test.go function TestHasOperatorScenarios (line 76) | func TestHasOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_keys.go function isKeyOperator (line 8) | func isKeyOperator(_ *dataTreeNavigator, context Context, _ *ExpressionN... function getKeyOperator (line 22) | func getKeyOperator(_ *dataTreeNavigator, context Context, _ *Expression... function keysOperator (line 39) | func keysOperator(_ *dataTreeNavigator, context Context, _ *ExpressionNo... function getMapKeys (line 63) | func getMapKeys(node *CandidateNode) *CandidateNode { function getIndices (line 74) | func getIndices(node *CandidateNode) *CandidateNode { FILE: pkg/yqlib/operator_keys_test.go function TestKeysOperatorScenarios (line 124) | func TestKeysOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_kind.go function kindToText (line 7) | func kindToText(kind Kind) string { function getKindOperator (line 22) | func getKindOperator(_ *dataTreeNavigator, context Context, _ *Expressio... FILE: pkg/yqlib/operator_kind_test.go function TestKindOperatorScenarios (line 44) | func TestKindOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_length.go function lengthOperator (line 8) | func lengthOperator(_ *dataTreeNavigator, context Context, _ *Expression... FILE: pkg/yqlib/operator_length_test.go function TestLengthOperatorScenarios (line 61) | func TestLengthOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_line.go function lineOperator (line 8) | func lineOperator(_ *dataTreeNavigator, context Context, _ *ExpressionNo... FILE: pkg/yqlib/operator_line_test.go function TestLineOperatorScenarios (line 42) | func TestLineOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_load.go type loadPrefs (line 17) | type loadPrefs struct function loadString (line 21) | func loadString(filename string) (*CandidateNode, error) { function loadWithDecoder (line 33) | func loadWithDecoder(filename string, decoder Decoder) (*CandidateNode, ... function loadStringOperator (line 64) | func loadStringOperator(d *dataTreeNavigator, context Context, expressio... function loadOperator (line 98) | func loadOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_load_test.go function TestLoadScenarios (line 128) | func TestLoadScenarios(t *testing.T) { function TestLoadOperatorSecurityDisabledScenarios (line 168) | func TestLoadOperatorSecurityDisabledScenarios(t *testing.T) { FILE: pkg/yqlib/operator_map.go function mapValuesOperator (line 7) | func mapValuesOperator(d *dataTreeNavigator, context Context, expression... function mapOperator (line 32) | func mapOperator(d *dataTreeNavigator, context Context, expressionNode *... FILE: pkg/yqlib/operator_map_test.go function TestMapOperatorScenarios (line 132) | func TestMapOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_modulo.go function moduloOperator (line 10) | func moduloOperator(d *dataTreeNavigator, context Context, expressionNod... function modulo (line 16) | func modulo(_ *dataTreeNavigator, _ Context, lhs *CandidateNode, rhs *Ca... function moduloScalars (line 34) | func moduloScalars(target *CandidateNode, lhs *CandidateNode, rhs *Candi... FILE: pkg/yqlib/operator_modulo_test.go function TestModuloOperatorScenarios (line 115) | func TestModuloOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_multiply.go type multiplyPreferences (line 10) | type multiplyPreferences struct function createMultiplyOp (line 17) | func createMultiplyOp(prefs interface{}) func(lhs *ExpressionNode, rhs *... function multiplyAssignOperator (line 25) | func multiplyAssignOperator(d *dataTreeNavigator, context Context, expre... function multiplyOperator (line 31) | func multiplyOperator(d *dataTreeNavigator, context Context, expressionN... function getComments (line 36) | func getComments(lhs *CandidateNode, rhs *CandidateNode) (leadingContent... function multiply (line 52) | func multiply(preferences multiplyPreferences) func(d *dataTreeNavigator... function multiplyScalars (line 80) | func multiplyScalars(lhs *CandidateNode, rhs *CandidateNode) (*Candidate... function multiplyFloats (line 100) | func multiplyFloats(lhs *CandidateNode, rhs *CandidateNode, lhsIsCustom ... function multiplyIntegers (line 122) | func multiplyIntegers(lhs *CandidateNode, rhs *CandidateNode) (*Candidat... function repeatString (line 140) | func repeatString(lhs *CandidateNode, rhs *CandidateNode) (*CandidateNod... function mergeObjects (line 166) | func mergeObjects(d *dataTreeNavigator, context Context, lhs *CandidateN... function applyAssignment (line 204) | func applyAssignment(d *dataTreeNavigator, context Context, pathIndexToS... FILE: pkg/yqlib/operator_multiply_test.go function TestMultiplyOperatorScenarios (line 698) | func TestMultiplyOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_omit.go function omitMap (line 8) | func omitMap(original *CandidateNode, indices *CandidateNode) *Candidate... function omitSequence (line 24) | func omitSequence(original *CandidateNode, indices *CandidateNode) *Cand... function omitOperator (line 38) | func omitOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_omit_test.go function TestOmitOperatorScenarios (line 65) | func TestOmitOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_parent.go type parentOpPreferences (line 5) | type parentOpPreferences struct function getParentsOperator (line 9) | func getParentsOperator(_ *dataTreeNavigator, context Context, _ *Expres... function getParentOperator (line 29) | func getParentOperator(_ *dataTreeNavigator, context Context, expression... FILE: pkg/yqlib/operator_parent_test.go function TestParentOperatorScenarios (line 127) | func TestParentOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_path.go function createPathNodeFor (line 8) | func createPathNodeFor(pathElement interface{}) *CandidateNode { function getPathArrayFromNode (line 17) | func getPathArrayFromNode(funcName string, node *CandidateNode) ([]inter... function setPathOperator (line 43) | func setPathOperator(d *dataTreeNavigator, context Context, expressionNo... function delPathsOperator (line 101) | func delPathsOperator(d *dataTreeNavigator, context Context, expressionN... function getPathOperator (line 151) | func getPathOperator(_ *dataTreeNavigator, context Context, _ *Expressio... FILE: pkg/yqlib/operator_path_test.go function TestPathOperatorsScenarios (line 160) | func TestPathOperatorsScenarios(t *testing.T) { FILE: pkg/yqlib/operator_pick.go function pickMap (line 8) | func pickMap(original *CandidateNode, indices *CandidateNode) *Candidate... function pickSequence (line 28) | func pickSequence(original *CandidateNode, indices *CandidateNode) (*Can... function pickOperator (line 48) | func pickOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_pick_test.go function TestPickOperatorScenarios (line 74) | func TestPickOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_pipe.go function pipeOperator (line 3) | func pipeOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_pipe_test.go function TestPipeOperatorScenarios (line 34) | func TestPipeOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_pivot.go function getUniqueElementTag (line 8) | func getUniqueElementTag(seq *CandidateNode) (string, error) { function pad (line 26) | func pad[E any](array []E, length int, factory func() E) []E { function pivotSequences (line 38) | func pivotSequences(seq *CandidateNode) *CandidateNode { function pivotMaps (line 65) | func pivotMaps(seq *CandidateNode) *CandidateNode { function pivotOperator (line 96) | func pivotOperator(_ *dataTreeNavigator, context Context, _ *ExpressionN... FILE: pkg/yqlib/operator_pivot_test.go function TestPivotOperatorScenarios (line 52) | func TestPivotOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_recursive_descent.go type recursiveDescentPreferences (line 7) | type recursiveDescentPreferences struct function recursiveDescentOperator (line 12) | func recursiveDescentOperator(_ *dataTreeNavigator, context Context, exp... function recursiveDecent (line 24) | func recursiveDecent(results *list.List, context Context, preferences re... FILE: pkg/yqlib/operator_recursive_descent_test.go function TestRecursiveDescentOperatorScenarios (line 232) | func TestRecursiveDescentOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_reduce.go function reduceOperator (line 8) | func reduceOperator(d *dataTreeNavigator, context Context, expressionNod... FILE: pkg/yqlib/operator_reduce_test.go function TestReduceOperatorScenarios (line 35) | func TestReduceOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_reverse.go function reverseOperator (line 8) | func reverseOperator(_ *dataTreeNavigator, context Context, _ *Expressio... FILE: pkg/yqlib/operator_reverse_test.go function TestReverseOperatorScenarios (line 68) | func TestReverseOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_select.go function selectOperator (line 7) | func selectOperator(d *dataTreeNavigator, context Context, expressionNod... FILE: pkg/yqlib/operator_select_test.go function TestSelectOperatorScenarios (line 163) | func TestSelectOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_self.go function selfOperator (line 3) | func selfOperator(_ *dataTreeNavigator, context Context, _ *ExpressionNo... FILE: pkg/yqlib/operator_shuffle.go function shuffleOperator (line 9) | func shuffleOperator(_ *dataTreeNavigator, context Context, _ *Expressio... FILE: pkg/yqlib/operator_shuffle_test.go function TestShuffleByOperatorScenarios (line 36) | func TestShuffleByOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_slice.go function getSliceNumber (line 8) | func getSliceNumber(d *dataTreeNavigator, context Context, node *Candida... function sliceArrayOperator (line 19) | func sliceArrayOperator(d *dataTreeNavigator, context Context, expressio... FILE: pkg/yqlib/operator_slice_test.go function TestSliceOperatorScenarios (line 103) | func TestSliceOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_sort.go function sortOperator (line 12) | func sortOperator(d *dataTreeNavigator, context Context, expressionNode ... function sortByOperator (line 20) | func sortByOperator(d *dataTreeNavigator, context Context, expressionNod... type sortableNode (line 67) | type sortableNode struct type sortableNodeArray (line 73) | type sortableNodeArray method Len (line 75) | func (a sortableNodeArray) Len() int { return len(a) } method Swap (line 76) | func (a sortableNodeArray) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 78) | func (a sortableNodeArray) Less(i, j int) bool { method compare (line 101) | func (a sortableNodeArray) compare(lhs *CandidateNode, rhs *CandidateN... FILE: pkg/yqlib/operator_sort_keys.go function sortKeysOperator (line 7) | func sortKeysOperator(d *dataTreeNavigator, context Context, expressionN... function sortKeys (line 30) | func sortKeys(node *CandidateNode) { FILE: pkg/yqlib/operator_sort_keys_test.go function TestSortKeysOperatorScenarios (line 45) | func TestSortKeysOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_sort_test.go function TestSortByOperatorScenarios (line 176) | func TestSortByOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_split_document.go function splitDocumentOperator (line 3) | func splitDocumentOperator(_ *dataTreeNavigator, context Context, _ *Exp... FILE: pkg/yqlib/operator_split_document_test.go function TestSplitDocOperatorScenarios (line 37) | func TestSplitDocOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_strings.go type changeCasePrefs (line 12) | type changeCasePrefs struct function encodeToYamlString (line 16) | func encodeToYamlString(node *CandidateNode) (string, error) { function evaluate (line 29) | func evaluate(d *dataTreeNavigator, context Context, expStr string) (str... function interpolate (line 48) | func interpolate(d *dataTreeNavigator, context Context, str string) (str... function stringInterpolationOperator (line 111) | func stringInterpolationOperator(d *dataTreeNavigator, context Context, ... function trimSpaceOperator (line 141) | func trimSpaceOperator(_ *dataTreeNavigator, context Context, _ *Express... function toStringOperator (line 159) | func toStringOperator(_ *dataTreeNavigator, context Context, _ *Expressi... function changeCaseOperator (line 184) | func changeCaseOperator(_ *dataTreeNavigator, context Context, expressio... function getSubstituteParameters (line 211) | func getSubstituteParameters(d *dataTreeNavigator, block *ExpressionNode... function substitute (line 236) | func substitute(original string, regex *regexp.Regexp, replacement strin... function substituteStringOperator (line 241) | func substituteStringOperator(d *dataTreeNavigator, context Context, exp... function addMatch (line 274) | func addMatch(original []*CandidateNode, match string, offset int, name ... type matchPreferences (line 305) | type matchPreferences struct function getMatches (line 309) | func getMatches(matchPrefs matchPreferences, regEx *regexp.Regexp, value... function match (line 325) | func match(matchPrefs matchPreferences, regEx *regexp.Regexp, candidate ... function capture (line 353) | func capture(matchPrefs matchPreferences, regEx *regexp.Regexp, candidat... function extractMatchArguments (line 388) | func extractMatchArguments(d *dataTreeNavigator, context Context, expres... function matchOperator (line 431) | func matchOperator(d *dataTreeNavigator, context Context, expressionNode... function captureOperator (line 451) | func captureOperator(d *dataTreeNavigator, context Context, expressionNo... function testOperator (line 471) | func testOperator(d *dataTreeNavigator, context Context, expressionNode ... function joinStringOperator (line 492) | func joinStringOperator(d *dataTreeNavigator, context Context, expressio... function join (line 518) | func join(content []*CandidateNode, joinStr string) (Kind, string, strin... function splitStringOperator (line 531) | func splitStringOperator(d *dataTreeNavigator, context Context, expressi... function split (line 563) | func split(value string, spltStr string) (Kind, string, []*CandidateNode) { FILE: pkg/yqlib/operator_strings_test.go function TestStringsOperatorScenarios (line 369) | func TestStringsOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_style.go function parseStyle (line 8) | func parseStyle(customStyle string) (Style, error) { function assignStyleOperator (line 27) | func assignStyleOperator(d *dataTreeNavigator, context Context, expressi... function getStyleOperator (line 74) | func getStyleOperator(_ *dataTreeNavigator, context Context, _ *Expressi... FILE: pkg/yqlib/operator_style_test.go function TestStyleOperatorScenarios (line 172) | func TestStyleOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_subtract.go function createSubtractOp (line 10) | func createSubtractOp(lhs *ExpressionNode, rhs *ExpressionNode) *Express... function subtractAssignOperator (line 16) | func subtractAssignOperator(d *dataTreeNavigator, context Context, expre... function subtractOperator (line 20) | func subtractOperator(d *dataTreeNavigator, context Context, expressionN... function subtractArray (line 26) | func subtractArray(lhs *CandidateNode, rhs *CandidateNode) []*CandidateN... function subtract (line 43) | func subtract(_ *dataTreeNavigator, context Context, lhs *CandidateNode,... function subtractScalars (line 72) | func subtractScalars(context Context, target *CandidateNode, lhs *Candid... function subtractDateTime (line 133) | func subtractDateTime(layout string, target *CandidateNode, lhs *Candida... FILE: pkg/yqlib/operator_subtract_test.go function TestSubtractOperatorScenarios (line 162) | func TestSubtractOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_tag.go function assignTagOperator (line 7) | func assignTagOperator(d *dataTreeNavigator, context Context, expression... function getTagOperator (line 48) | func getTagOperator(_ *dataTreeNavigator, context Context, _ *Expression... FILE: pkg/yqlib/operator_tag_test.go function TestTagOperatorScenarios (line 95) | func TestTagOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_to_number.go function tryConvertToNumber (line 9) | func tryConvertToNumber(value string) (string, bool) { function toNumberOperator (line 25) | func toNumberOperator(_ *dataTreeNavigator, context Context, _ *Expressi... FILE: pkg/yqlib/operator_to_number_test.go function TestToNumberOperatorScenarios (line 46) | func TestToNumberOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_traverse_path.go type traversePreferences (line 11) | type traversePreferences struct function splat (line 20) | func splat(context Context, prefs traversePreferences) (Context, error) { function traversePathOperator (line 24) | func traversePathOperator(_ *dataTreeNavigator, context Context, express... function traverse (line 39) | func traverse(context Context, matchingNode *CandidateNode, operation *O... function traverseArrayOperator (line 74) | func traverseArrayOperator(d *dataTreeNavigator, context Context, expres... function traverseNodesWithArrayIndices (line 114) | func traverseNodesWithArrayIndices(context Context, indicesToTraverse []... function traverseArrayIndices (line 128) | func traverseArrayIndices(context Context, matchingNode *CandidateNode, ... function traverseMapWithIndices (line 153) | func traverseMapWithIndices(context Context, candidate *CandidateNode, i... function traverseArrayWithIndices (line 172) | func traverseArrayWithIndices(node *CandidateNode, indices []*CandidateN... function keyMatches (line 220) | func keyMatches(key *CandidateNode, wantedKey string, exactKeyMatch bool... function traverseMap (line 228) | func traverseMap(context Context, matchingNode *CandidateNode, keyNode *... function doTraverseMap (line 267) | func doTraverseMap(newMatches *orderedmap.OrderedMap, node *CandidateNod... function traverseMergeAnchor (line 333) | func traverseMergeAnchor(newMatches *orderedmap.OrderedMap, merge *Candi... function traverseArray (line 368) | func traverseArray(candidate *CandidateNode, operation *Operation, prefs... FILE: pkg/yqlib/operator_traverse_path_test.go function TestTraversePathOperatorScenarios (line 670) | func TestTraversePathOperatorScenarios(t *testing.T) { function TestTraversePathOperatorAlignedToSpecScenarios (line 677) | func TestTraversePathOperatorAlignedToSpecScenarios(t *testing.T) { FILE: pkg/yqlib/operator_union.go function unionOperator (line 5) | func unionOperator(d *dataTreeNavigator, context Context, expressionNode... FILE: pkg/yqlib/operator_union_test.go function TestUnionOperatorScenarios (line 51) | func TestUnionOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_unique.go function unique (line 10) | func unique(d *dataTreeNavigator, context Context, _ *ExpressionNode) (C... function uniqueBy (line 17) | func uniqueBy(d *dataTreeNavigator, context Context, expressionNode *Exp... function getUniqueKeyValue (line 60) | func getUniqueKeyValue(rhs Context) (string, error) { FILE: pkg/yqlib/operator_unique_test.go function TestUniqueOperatorScenarios (line 106) | func TestUniqueOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_value.go function referenceOperator (line 5) | func referenceOperator(_ *dataTreeNavigator, context Context, expression... function valueOperator (line 9) | func valueOperator(_ *dataTreeNavigator, context Context, expressionNode... FILE: pkg/yqlib/operator_value_test.go function TestValueOperatorScenarios (line 187) | func TestValueOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_variables.go function getVariableOperator (line 8) | func getVariableOperator(_ *dataTreeNavigator, context Context, expressi... type assignVarPreferences (line 18) | type assignVarPreferences struct function useWithPipe (line 22) | func useWithPipe(_ *dataTreeNavigator, _ Context, _ *ExpressionNode) (Co... function variableLoop (line 28) | func variableLoop(d *dataTreeNavigator, context Context, originalExp *Ex... function variableLoopSingleChild (line 52) | func variableLoopSingleChild(d *dataTreeNavigator, context Context, orig... FILE: pkg/yqlib/operator_variables_test.go function TestVariableOperatorScenarios (line 93) | func TestVariableOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operator_with.go function withOperator (line 5) | func withOperator(d *dataTreeNavigator, context Context, expressionNode ... FILE: pkg/yqlib/operator_with_test.go function TestWithOperatorScenarios (line 52) | func TestWithOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operators.go type operatorHandler (line 11) | type operatorHandler type compoundCalculation (line 13) | type compoundCalculation function compoundAssignFunction (line 15) | func compoundAssignFunction(d *dataTreeNavigator, context Context, expre... function emptyOperator (line 54) | func emptyOperator(_ *dataTreeNavigator, context Context, _ *ExpressionN... type crossFunctionCalculation (line 59) | type crossFunctionCalculation function resultsForRHS (line 61) | func resultsForRHS(d *dataTreeNavigator, context Context, lhsCandidate *... type crossFunctionPreferences (line 105) | type crossFunctionPreferences struct function doCrossFunc (line 113) | func doCrossFunc(d *dataTreeNavigator, context Context, expressionNode *... function crossFunction (line 140) | func crossFunction(d *dataTreeNavigator, context Context, expressionNode... function crossFunctionWithPrefs (line 145) | func crossFunctionWithPrefs(d *dataTreeNavigator, context Context, expre... function createBooleanCandidate (line 174) | func createBooleanCandidate(owner *CandidateNode, value bool) *Candidate... function createTraversalTree (line 188) | func createTraversalTree(path []interface{}, traversePrefs traversePrefe... FILE: pkg/yqlib/operators_compare_test.go function TestCompareOperatorScenarios (line 380) | func TestCompareOperatorScenarios(t *testing.T) { function TestMinOperatorScenarios (line 412) | func TestMinOperatorScenarios(t *testing.T) { function TestMaxOperatorScenarios (line 444) | func TestMaxOperatorScenarios(t *testing.T) { FILE: pkg/yqlib/operators_test.go type expressionScenario (line 20) | type expressionScenario struct function TestMain (line 40) | func TestMain(m *testing.M) { function NewSimpleYamlPrinter (line 61) | func NewSimpleYamlPrinter(writer io.Writer, unwrapScalar bool, indent in... function readDocument (line 69) | func readDocument(content string, fakefilename string, fakeFileIndex int... function testScenario (line 75) | func testScenario(t *testing.T, s *expressionScenario) { function resultToString (line 155) | func resultToString(t *testing.T, n *CandidateNode) string { function resultsToString (line 173) | func resultsToString(t *testing.T, results *list.List) []string { function writeOrPanic (line 185) | func writeOrPanic(w *bufio.Writer, text string) { function copySnippet (line 192) | func copySnippet(source string, out *os.File) error { function formatYaml (line 206) | func formatYaml(yaml string, filename string) string { type documentScenarioFunc (line 222) | type documentScenarioFunc function documentScenarios (line 224) | func documentScenarios(t *testing.T, folder string, title string, scenar... function appendOperatorDocumentScenario (line 256) | func appendOperatorDocumentScenario(t *testing.T, title string, scenario... function documentOperatorScenarios (line 272) | func documentOperatorScenarios(t *testing.T, title string, scenarios []e... function documentOperatorScenario (line 281) | func documentOperatorScenario(t *testing.T, w *bufio.Writer, i interface... function documentInput (line 309) | func documentInput(w *bufio.Writer, s expressionScenario) (string, strin... function documentOutput (line 371) | func documentOutput(t *testing.T, w *bufio.Writer, s expressionScenario,... FILE: pkg/yqlib/printer.go type Printer (line 12) | type Printer interface type resultsPrinter (line 20) | type resultsPrinter struct method SetNulSepOutput (line 42) | func (p *resultsPrinter) SetNulSepOutput(nulSepOutput bool) { method SetAppendix (line 48) | func (p *resultsPrinter) SetAppendix(reader io.Reader) { method PrintedAnything (line 52) | func (p *resultsPrinter) PrintedAnything() bool { method printNode (line 56) | func (p *resultsPrinter) printNode(node *CandidateNode, writer io.Writ... method PrintResults (line 72) | func (p *resultsPrinter) PrintResults(matchingNodes *list.List) error { function NewPrinter (line 32) | func NewPrinter(encoder Encoder, printerWriter PrinterWriter) Printer { function removeLastEOL (line 62) | func removeLastEOL(b *bytes.Buffer) { FILE: pkg/yqlib/printer_node_info.go type nodeInfoPrinter (line 11) | type nodeInfoPrinter struct method SetNulSepOutput (line 23) | func (p *nodeInfoPrinter) SetNulSepOutput(_ bool) { method SetAppendix (line 26) | func (p *nodeInfoPrinter) SetAppendix(reader io.Reader) { method PrintedAnything (line 30) | func (p *nodeInfoPrinter) PrintedAnything() bool { method PrintResults (line 34) | func (p *nodeInfoPrinter) PrintResults(matchingNodes *list.List) error { function NewNodeInfoPrinter (line 17) | func NewNodeInfoPrinter(printerWriter PrinterWriter) Printer { FILE: pkg/yqlib/printer_node_info_test.go function TestNodeInfoPrinter_PrintResults (line 13) | func TestNodeInfoPrinter_PrintResults(t *testing.T) { function TestNodeInfoPrinter_PrintedAnything_True (line 53) | func TestNodeInfoPrinter_PrintedAnything_True(t *testing.T) { function TestNodeInfoPrinter_PrintedAnything_False (line 79) | func TestNodeInfoPrinter_PrintedAnything_False(t *testing.T) { function TestNodeInfoPrinter_SetNulSepOutput (line 96) | func TestNodeInfoPrinter_SetNulSepOutput(_ *testing.T) { function TestNodeInfoPrinter_SetAppendix (line 106) | func TestNodeInfoPrinter_SetAppendix(t *testing.T) { function TestNodeInfoPrinter_MultipleNodes (line 134) | func TestNodeInfoPrinter_MultipleNodes(t *testing.T) { function TestNodeInfoPrinter_SequenceNode (line 164) | func TestNodeInfoPrinter_SequenceNode(t *testing.T) { function TestNodeInfoPrinter_MappingNode (line 189) | func TestNodeInfoPrinter_MappingNode(t *testing.T) { function TestNodeInfoPrinter_EmptyList (line 212) | func TestNodeInfoPrinter_EmptyList(t *testing.T) { FILE: pkg/yqlib/printer_test.go function nodeToList (line 30) | func nodeToList(candidate *CandidateNode) *list.List { function TestPrinterMultipleDocsInSequenceOnly (line 36) | func TestPrinterMultipleDocsInSequenceOnly(t *testing.T) { function TestPrinterMultipleDocsInSequenceWithLeadingContent (line 74) | func TestPrinterMultipleDocsInSequenceWithLeadingContent(t *testing.T) { function TestPrinterMultipleFilesInSequence (line 116) | func TestPrinterMultipleFilesInSequence(t *testing.T) { function TestPrinterMultipleFilesInSequenceWithLeadingContent (line 163) | func TestPrinterMultipleFilesInSequenceWithLeadingContent(t *testing.T) { function TestPrinterMultipleDocsInSinglePrint (line 213) | func TestPrinterMultipleDocsInSinglePrint(t *testing.T) { function TestPrinterMultipleDocsInSinglePrintWithLeadingDoc (line 232) | func TestPrinterMultipleDocsInSinglePrintWithLeadingDoc(t *testing.T) { function TestPrinterMultipleDocsInSinglePrintWithLeadingDocTrailing (line 261) | func TestPrinterMultipleDocsInSinglePrintWithLeadingDocTrailing(t *testi... function TestPrinterScalarWithLeadingCont (line 287) | func TestPrinterScalarWithLeadingCont(t *testing.T) { function TestPrinterMultipleDocsJson (line 312) | func TestPrinterMultipleDocsJson(t *testing.T) { function TestPrinterNulSeparator (line 346) | func TestPrinterNulSeparator(t *testing.T) { function TestPrinterNulSeparatorWithJson (line 366) | func TestPrinterNulSeparatorWithJson(t *testing.T) { function TestPrinterRootUnwrap (line 398) | func TestPrinterRootUnwrap(t *testing.T) { function TestRemoveLastEOL (line 418) | func TestRemoveLastEOL(t *testing.T) { function TestPrinterPrintedAnything (line 450) | func TestPrinterPrintedAnything(t *testing.T) { function TestPrinterNulSeparatorWithNullChar (line 469) | func TestPrinterNulSeparatorWithNullChar(t *testing.T) { function TestPrinterSetNulSepOutput (line 490) | func TestPrinterSetNulSepOutput(t *testing.T) { function TestPrinterSetAppendix (line 504) | func TestPrinterSetAppendix(t *testing.T) { FILE: pkg/yqlib/printer_writer.go type PrinterWriter (line 12) | type PrinterWriter interface type singlePrinterWriter (line 16) | type singlePrinterWriter struct method GetWriter (line 26) | func (sp *singlePrinterWriter) GetWriter(_ *CandidateNode) (*bufio.Wri... function NewSinglePrinterWriter (line 20) | func NewSinglePrinterWriter(writer io.Writer) PrinterWriter { type multiPrintWriter (line 30) | type multiPrintWriter struct method GetWriter (line 55) | func (sp *multiPrintWriter) GetWriter(node *CandidateNode) (*bufio.Wri... function NewMultiPrinterWriter (line 37) | func NewMultiPrinterWriter(expression *ExpressionNode, format *Format) P... FILE: pkg/yqlib/properties.go type PropertiesPreferences (line 3) | type PropertiesPreferences struct method Copy (line 17) | func (p *PropertiesPreferences) Copy() PropertiesPreferences { function NewDefaultPropertiesPreferences (line 9) | func NewDefaultPropertiesPreferences() PropertiesPreferences { FILE: pkg/yqlib/properties_test.go constant propertiesWithCommentsOnMap (line 11) | propertiesWithCommentsOnMap = `this.thing = hi hi constant expectedPropertiesWithCommentsOnMapProps (line 17) | expectedPropertiesWithCommentsOnMapProps = `this.thing = hi hi constant expectedPropertiesWithCommentsOnMapYaml (line 24) | expectedPropertiesWithCommentsOnMapYaml = `this: constant propertiesWithCommentInArray (line 31) | propertiesWithCommentInArray = ` constant expectedPropertiesWithCommentInArrayProps (line 38) | expectedPropertiesWithCommentInArrayProps = `this.array.0 = cat constant expectedPropertiesWithCommentInArrayYaml (line 45) | expectedPropertiesWithCommentInArrayYaml = `this: constant samplePropertiesYaml (line 53) | samplePropertiesYaml = `# block comments come through constant expectedPropertiesUnwrapped (line 65) | expectedPropertiesUnwrapped = `# block comments come through constant expectedPropertiesUnwrappedArrayBrackets (line 75) | expectedPropertiesUnwrappedArrayBrackets = `# block comments come through constant expectedPropertiesUnwrappedCustomSeparator (line 85) | expectedPropertiesUnwrappedCustomSeparator = `# block comments come through constant expectedPropertiesWrapped (line 95) | expectedPropertiesWrapped = `# block comments come through constant expectedUpdatedProperties (line 105) | expectedUpdatedProperties = `# block comments come through constant expectedDecodedYaml (line 115) | expectedDecodedYaml = `person: constant expectedDecodedPersonYaml (line 128) | expectedDecodedPersonYaml = `# block comments come through constant expectedPropertiesNoComments (line 140) | expectedPropertiesNoComments = `person.name = Mike Wazowski constant expectedPropertiesWithEmptyMapsAndArrays (line 146) | expectedPropertiesWithEmptyMapsAndArrays = `# block comments come through function documentUnwrappedEncodePropertyScenario (line 305) | func documentUnwrappedEncodePropertyScenario(w *bufio.Writer, s formatSc... function documentWrappedEncodePropertyScenario (line 342) | func documentWrappedEncodePropertyScenario(w *bufio.Writer, s formatScen... function documentDecodePropertyScenario (line 368) | func documentDecodePropertyScenario(w *bufio.Writer, s formatScenario) { function documentRoundTripPropertyScenario (line 393) | func documentRoundTripPropertyScenario(w *bufio.Writer, s formatScenario) { function documentPropertyScenario (line 418) | func documentPropertyScenario(_ *testing.T, w *bufio.Writer, i interface... function TestPropertyScenarios (line 438) | func TestPropertyScenarios(t *testing.T) { FILE: pkg/yqlib/recipes_test.go function TestRecipes (line 158) | func TestRecipes(t *testing.T) { FILE: pkg/yqlib/security_prefs.go type SecurityPreferences (line 3) | type SecurityPreferences struct FILE: pkg/yqlib/shellvariables.go type ShellVariablesPreferences (line 3) | type ShellVariablesPreferences struct function NewDefaultShellVariablesPreferences (line 8) | func NewDefaultShellVariablesPreferences() ShellVariablesPreferences { FILE: pkg/yqlib/shellvariables_test.go function TestShellVariableScenarios (line 72) | func TestShellVariableScenarios(t *testing.T) { function documentShellVariableScenario (line 92) | func documentShellVariableScenario(_ *testing.T, w *bufio.Writer, i inte... FILE: pkg/yqlib/stream_evaluator.go type StreamEvaluator (line 14) | type StreamEvaluator interface type streamEvaluator (line 20) | type streamEvaluator struct method EvaluateNew (line 29) | func (s *streamEvaluator) EvaluateNew(expression string, printer Print... method EvaluateFiles (line 45) | func (s *streamEvaluator) EvaluateFiles(expression string, filenames [... method Evaluate (line 78) | func (s *streamEvaluator) Evaluate(filename string, reader io.Reader, ... function NewStreamEvaluator (line 25) | func NewStreamEvaluator() StreamEvaluator { FILE: pkg/yqlib/string_evaluator.go type StringEvaluator (line 10) | type StringEvaluator interface type stringEvaluator (line 15) | type stringEvaluator struct method EvaluateAll (line 25) | func (s *stringEvaluator) EvaluateAll(expression string, input string,... method Evaluate (line 48) | func (s *stringEvaluator) Evaluate(expression string, input string, en... function NewStringEvaluator (line 19) | func NewStringEvaluator() StringEvaluator { FILE: pkg/yqlib/string_evaluator_test.go function TestStringEvaluator_MultipleDocumentMerge (line 9) | func TestStringEvaluator_MultipleDocumentMerge(t *testing.T) { function TestStringEvaluator_Evaluate_Nominal (line 23) | func TestStringEvaluator_Evaluate_Nominal(t *testing.T) { FILE: pkg/yqlib/toml.go type TomlPreferences (line 3) | type TomlPreferences struct method Copy (line 11) | func (p *TomlPreferences) Copy() TomlPreferences { function NewDefaultTomlPreferences (line 7) | func NewDefaultTomlPreferences() TomlPreferences { FILE: pkg/yqlib/toml_test.go function testTomlScenario (line 619) | func testTomlScenario(t *testing.T, s formatScenario) { function documentTomlDecodeScenario (line 635) | func documentTomlDecodeScenario(w *bufio.Writer, s formatScenario) { function documentTomlRoundtripScenario (line 657) | func documentTomlRoundtripScenario(w *bufio.Writer, s formatScenario) { function documentTomlScenario (line 679) | func documentTomlScenario(_ *testing.T, w *bufio.Writer, i interface{}) { function TestTomlScenarios (line 696) | func TestTomlScenarios(t *testing.T) { function TestTomlColourization (line 709) | func TestTomlColourization(t *testing.T) { function TestTomlColorisationNumberBug (line 771) | func TestTomlColorisationNumberBug(t *testing.T) { function TestTomlEmptyPathPanic (line 883) | func TestTomlEmptyPathPanic(t *testing.T) { function TestTomlStringEscapeColourization (line 906) | func TestTomlStringEscapeColourization(t *testing.T) { function TestTomlEncoderPrintDocumentSeparator (line 970) | func TestTomlEncoderPrintDocumentSeparator(t *testing.T) { function TestTomlEncoderPrintLeadingContent (line 982) | func TestTomlEncoderPrintLeadingContent(t *testing.T) { function TestTomlEncoderCanHandleAliases (line 994) | func TestTomlEncoderCanHandleAliases(t *testing.T) { FILE: pkg/yqlib/utils.go function readStream (line 12) | func readStream(filename string) (io.Reader, error) { function writeString (line 29) | func writeString(writer io.Writer, txt string) error { function ReadDocuments (line 34) | func ReadDocuments(reader io.Reader, decoder Decoder) (*list.List, error) { function readDocuments (line 38) | func readDocuments(reader io.Reader, filename string, fileIndex int, dec... FILE: pkg/yqlib/write_in_place_handler.go type writeInPlaceHandler (line 7) | type writeInPlaceHandler interface type writeInPlaceHandlerImpl (line 12) | type writeInPlaceHandlerImpl struct method CreateTempFile (line 22) | func (w *writeInPlaceHandlerImpl) CreateTempFile() (*os.File, error) { method FinishWriteInPlace (line 46) | func (w *writeInPlaceHandlerImpl) FinishWriteInPlace(evaluatedSuccessf... function NewWriteInPlaceHandler (line 17) | func NewWriteInPlaceHandler(inputFile string) writeInPlaceHandler { FILE: pkg/yqlib/write_in_place_handler_test.go function TestWriteInPlaceHandlerImpl_CreateTempFile (line 9) | func TestWriteInPlaceHandlerImpl_CreateTempFile(t *testing.T) { function TestWriteInPlaceHandlerImpl_CreateTempFile_NonExistentInput (line 37) | func TestWriteInPlaceHandlerImpl_CreateTempFile_NonExistentInput(t *test... function TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Success (line 52) | func TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Success(t *testing.T) { function TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Failure (line 97) | func TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Failure(t *testing.T) { function TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Symlink_Success (line 142) | func TestWriteInPlaceHandlerImpl_FinishWriteInPlace_Symlink_Success(t *t... function TestWriteInPlaceHandlerImpl_CreateTempFile_Permissions (line 202) | func TestWriteInPlaceHandlerImpl_CreateTempFile_Permissions(t *testing.T) { function TestWriteInPlaceHandlerImpl_Integration (line 238) | func TestWriteInPlaceHandlerImpl_Integration(t *testing.T) { FILE: pkg/yqlib/xml.go type XmlPreferences (line 3) | type XmlPreferences struct method Copy (line 31) | func (p *XmlPreferences) Copy() XmlPreferences { function NewDefaultXmlPreferences (line 16) | func NewDefaultXmlPreferences() XmlPreferences { FILE: pkg/yqlib/xml_test.go constant yamlInputWithProcInstAndHeadComment (line 13) | yamlInputWithProcInstAndHeadComment = `# cats constant expectedXmlProcInstAndHeadComment (line 17) | expectedXmlProcInstAndHeadComment = ` constant xmlProcInstAndHeadCommentBlock (line 22) | xmlProcInstAndHeadCommentBlock = ` constant expectedYamlProcInstAndHeadCommentBlock (line 29) | expectedYamlProcInstAndHeadCommentBlock = `# constant inputXMLWithComments (line 36) | inputXMLWithComments = ` constant inputXMLWithCommentsWithSubChild (line 54) | inputXMLWithCommentsWithSubChild = ` constant expectedDecodeYamlWithSubChild (line 73) | expectedDecodeYamlWithSubChild = `# before cat constant inputXMLWithCommentsWithArray (line 93) | inputXMLWithCommentsWithArray = ` constant expectedDecodeYamlWithArray (line 113) | expectedDecodeYamlWithArray = `# before cat constant expectedDecodeYamlWithComments (line 137) | expectedDecodeYamlWithComments = `# before cat constant expectedRoundtripXMLWithComments (line 154) | expectedRoundtripXMLWithComments = ` constant yamlWithComments (line 166) | yamlWithComments = `# constant expectedXMLWithComments (line 179) | expectedXMLWithComments = `