SYMBOL INDEX (723 symbols across 159 files) FILE: api.go function Query (line 11) | func Query(ctx context.Context, data any, selector string, opts ...execu... function Select (line 35) | func Select(ctx context.Context, data any, selector string, opts ...exec... function Modify (line 53) | func Modify(ctx context.Context, data any, selector string, newValue any... FILE: api_example_test.go function ExampleSelect (line 10) | func ExampleSelect() { FILE: api_test.go type modifyTestCase (line 10) | type modifyTestCase struct method run (line 18) | func (tc modifyTestCase) run(t *testing.T) { function TestQuery (line 31) | func TestQuery(t *testing.T) { function TestSelect (line 59) | func TestSelect(t *testing.T) { function TestModify (line 81) | func TestModify(t *testing.T) { FILE: execution/context.go type ctxKey (line 8) | type ctxKey constant executorIDCtxKey (line 11) | executorIDCtxKey ctxKey = "executorID" constant executorPathCtxKey (line 12) | executorPathCtxKey ctxKey = "executorPath" constant executorDepthCtxKey (line 13) | executorDepthCtxKey ctxKey = "executorDepth" function WithExecutorID (line 16) | func WithExecutorID(ctx context.Context, executorID string) context.Cont... function ExecutorID (line 27) | func ExecutorID(ctx context.Context) string { function ExecutorPath (line 35) | func ExecutorPath(ctx context.Context) string { function ExecutorDepth (line 43) | func ExecutorDepth(ctx context.Context) int { FILE: execution/execute.go function ExecuteSelector (line 16) | func ExecuteSelector(ctx context.Context, selectorStr string, value *mod... type expressionExecutor (line 34) | type expressionExecutor function ExecuteAST (line 37) | func ExecuteAST(ctx context.Context, expr ast.Expr, value *model.Value, ... function exprExecutor (line 87) | func exprExecutor(options *Options, expr ast.Expr) (expressionExecutor, ... function chainedExprExecutor (line 156) | func chainedExprExecutor(e ast.ChainedExpr) (expressionExecutor, error) { function variableExprExecutor (line 171) | func variableExprExecutor(e ast.VariableExpr) (expressionExecutor, error) { FILE: execution/execute_array.go function arrayExprExecutor (line 11) | func arrayExprExecutor(e ast.ArrayExpr) (expressionExecutor, error) { function rangeExprExecutor (line 42) | func rangeExprExecutor(e ast.RangeExpr) (expressionExecutor, error) { function indexExprExecutor (line 90) | func indexExprExecutor(e ast.IndexExpr) (expressionExecutor, error) { FILE: execution/execute_array_test.go function TestArray (line 9) | func TestArray(t *testing.T) { FILE: execution/execute_assign.go function executeAssign (line 10) | func executeAssign(ctx context.Context, left *model.Value, right *model.... FILE: execution/execute_assign_test.go function TestAssignVariable (line 10) | func TestAssignVariable(t *testing.T) { FILE: execution/execute_binary.go type binaryExpressionExecutorFn (line 13) | type binaryExpressionExecutorFn function basicBinaryExpressionExecutorFn (line 15) | func basicBinaryExpressionExecutorFn(handler func(ctx context.Context, l... function binaryExprExecutor (line 58) | func binaryExprExecutor(e ast.BinaryExpr) (expressionExecutor, error) { function init (line 74) | func init() { FILE: execution/execute_binary_test.go function TestBinary (line 10) | func TestBinary(t *testing.T) { FILE: execution/execute_branch.go function branchExprExecutor (line 11) | func branchExprExecutor(e ast.BranchExpr) (expressionExecutor, error) { FILE: execution/execute_branch_test.go function TestBranch (line 10) | func TestBranch(t *testing.T) { FILE: execution/execute_conditional.go function conditionalExprExecutor (line 11) | func conditionalExprExecutor(e ast.ConditionalExpr) (expressionExecutor,... FILE: execution/execute_conditional_test.go function TestConditional (line 9) | func TestConditional(t *testing.T) { FILE: execution/execute_each.go function eachExprExecutor (line 11) | func eachExprExecutor(e ast.EachExpr) (expressionExecutor, error) { FILE: execution/execute_each_test.go function TestEach (line 9) | func TestEach(t *testing.T) { FILE: execution/execute_filter.go function filterExprExecutor (line 11) | func filterExprExecutor(e ast.FilterExpr) (expressionExecutor, error) { FILE: execution/execute_filter_test.go function TestFilter (line 9) | func TestFilter(t *testing.T) { FILE: execution/execute_func.go function prepareArgs (line 13) | func prepareArgs(ctx context.Context, opts *Options, data *model.Value, ... function callFnExecutor (line 31) | func callFnExecutor(f FuncFn, argsE ast.Expressions) (expressionExecutor... function callExprExecutor (line 52) | func callExprExecutor(options *Options, e ast.CallExpr) (expressionExecu... FILE: execution/execute_func_test.go function TestFunc (line 11) | func TestFunc(t *testing.T) { FILE: execution/execute_literal.go function numberIntExprExecutor (line 9) | func numberIntExprExecutor(e ast.NumberIntExpr) (expressionExecutor, err... function numberFloatExprExecutor (line 16) | func numberFloatExprExecutor(e ast.NumberFloatExpr) (expressionExecutor,... function stringExprExecutor (line 23) | func stringExprExecutor(e ast.StringExpr) (expressionExecutor, error) { function boolExprExecutor (line 30) | func boolExprExecutor(e ast.BoolExpr) (expressionExecutor, error) { FILE: execution/execute_literal_test.go function TestLiteral (line 9) | func TestLiteral(t *testing.T) { FILE: execution/execute_map.go function mapExprExecutor (line 11) | func mapExprExecutor(e ast.MapExpr) (expressionExecutor, error) { FILE: execution/execute_map_test.go function TestMap (line 10) | func TestMap(t *testing.T) { FILE: execution/execute_object.go function objectExprExecutor (line 11) | func objectExprExecutor(e ast.ObjectExpr) (expressionExecutor, error) { function propertyExprExecutor (line 66) | func propertyExprExecutor(e ast.PropertyExpr) (expressionExecutor, error) { FILE: execution/execute_object_test.go function TestObject (line 10) | func TestObject(t *testing.T) { FILE: execution/execute_recursive_descent.go function recursiveDescentExprExecutor2 (line 10) | func recursiveDescentExprExecutor2(e ast.RecursiveDescentExpr) (expressi... FILE: execution/execute_search.go function searchExprExecutor (line 10) | func searchExprExecutor(e ast.SearchExpr) (expressionExecutor, error) { FILE: execution/execute_sort_by.go function sortByExprExecutor (line 12) | func sortByExprExecutor(e ast.SortByExpr) (expressionExecutor, error) { FILE: execution/execute_sort_by_test.go function TestFuncSortBy (line 9) | func TestFuncSortBy(t *testing.T) { FILE: execution/execute_spread.go function spreadExprExecutor (line 10) | func spreadExprExecutor() (expressionExecutor, error) { function prepareSpreadValues (line 45) | func prepareSpreadValues(val *model.Value) (model.Values, error) { FILE: execution/execute_spread_test.go function TestSpread (line 9) | func TestSpread(t *testing.T) { FILE: execution/execute_test.go type testCase (line 13) | type testCase struct method run (line 23) | func (tc testCase) run(t *testing.T) { function TestExecuteSelector_HappyPath (line 59) | func TestExecuteSelector_HappyPath(t *testing.T) { FILE: execution/execute_unary.go function unaryExprExecutor (line 12) | func unaryExprExecutor(e ast.UnaryExpr) (expressionExecutor, error) { FILE: execution/execute_unary_test.go function TestUnary (line 10) | func TestUnary(t *testing.T) { FILE: execution/func.go type ArgsValidator (line 39) | type ArgsValidator function ValidateArgsExactly (line 42) | func ValidateArgsExactly(expected int) ArgsValidator { function ValidateArgsMin (line 52) | func ValidateArgsMin(expected int) ArgsValidator { function ValidateArgsMax (line 62) | func ValidateArgsMax(expected int) ArgsValidator { function ValidateArgsMinMax (line 72) | func ValidateArgsMinMax(min int, max int) ArgsValidator { type Func (line 82) | type Func struct method Handler (line 89) | func (f *Func) Handler() FuncFn { function NewFunc (line 105) | func NewFunc(name string, handler FuncFn, argsValidator ArgsValidator) *... type FuncFn (line 114) | type FuncFn type FuncCollection (line 117) | type FuncCollection method Register (line 125) | func (fc FuncCollection) Register(funcs ...*Func) FuncCollection { method Get (line 133) | func (fc FuncCollection) Get(name string) (FuncFn, bool) { method Delete (line 139) | func (fc FuncCollection) Delete(names ...string) FuncCollection { method Copy (line 147) | func (fc FuncCollection) Copy() FuncCollection { function NewFuncCollection (line 120) | func NewFuncCollection(funcs ...*Func) FuncCollection { FILE: execution/func_add_test.go function TestFuncAdd (line 10) | func TestFuncAdd(t *testing.T) { FILE: execution/func_contains_test.go function TestFuncContains (line 9) | func TestFuncContains(t *testing.T) { FILE: execution/func_get_test.go function TestFuncGet (line 10) | func TestFuncGet(t *testing.T) { FILE: execution/func_has_test.go function TestFuncHas (line 9) | func TestFuncHas(t *testing.T) { FILE: execution/func_join_test.go function TestFuncJoin (line 10) | func TestFuncJoin(t *testing.T) { FILE: execution/func_keys_test.go function TestFuncKeys (line 10) | func TestFuncKeys(t *testing.T) { FILE: execution/func_len_test.go function TestFuncLen (line 9) | func TestFuncLen(t *testing.T) { FILE: execution/func_max_test.go function TestFuncMax (line 9) | func TestFuncMax(t *testing.T) { FILE: execution/func_merge_test.go function TestFuncMerge (line 9) | func TestFuncMerge(t *testing.T) { FILE: execution/func_min_test.go function TestFuncMin (line 9) | func TestFuncMin(t *testing.T) { FILE: execution/func_parse_test.go function TestFuncParse (line 9) | func TestFuncParse(t *testing.T) { FILE: execution/func_replace_test.go function TestFuncReplace (line 9) | func TestFuncReplace(t *testing.T) { FILE: execution/func_reverse_test.go function TestFuncReverse (line 9) | func TestFuncReverse(t *testing.T) { FILE: execution/func_sum_test.go function TestFuncSum (line 8) | func TestFuncSum(t *testing.T) { FILE: execution/func_to_float_test.go function TestFuncToFloat (line 8) | func TestFuncToFloat(t *testing.T) { FILE: execution/func_to_int_test.go function TestFuncToInt (line 8) | func TestFuncToInt(t *testing.T) { FILE: execution/func_to_string_test.go function TestFuncToString (line 8) | func TestFuncToString(t *testing.T) { FILE: execution/func_type_of_test.go function TestFuncTypeOf (line 9) | func TestFuncTypeOf(t *testing.T) { FILE: execution/options.go type ExecuteOptionFn (line 6) | type ExecuteOptionFn type Options (line 9) | type Options struct function NewOptions (line 16) | func NewOptions(opts ...ExecuteOptionFn) *Options { function WithFuncs (line 31) | func WithFuncs(fc FuncCollection) ExecuteOptionFn { function WithVariable (line 38) | func WithVariable(key string, val *model.Value) ExecuteOptionFn { function WithUnstable (line 45) | func WithUnstable() ExecuteOptionFn { function WithoutUnstable (line 52) | func WithoutUnstable() ExecuteOptionFn { FILE: internal/cli/command.go type Globals (line 14) | type Globals struct type CLI (line 21) | type CLI struct function MustRun (line 29) | func MustRun(stdin io.Reader, stdout, stderr io.Writer) { function Run (line 49) | func Run(stdin io.Reader, stdout, stderr io.Writer) (*kong.Context, erro... FILE: internal/cli/command_test.go function runDasel (line 13) | func runDasel(args []string, in []byte) ([]byte, []byte, error) { type testCase (line 30) | type testCase struct function runTest (line 38) | func runTest(tc testCase) func(t *testing.T) { function TestRun (line 63) | func TestRun(t *testing.T) { FILE: internal/cli/config.go type Config (line 15) | type Config struct function LoadConfig (line 26) | func LoadConfig(path string) (Config, error) { FILE: internal/cli/generic_test.go function newStringWithFormat (line 14) | func newStringWithFormat(format parsing.Format, data string) bytesWithFo... type bytesWithFormat (line 21) | type bytesWithFormat struct type testCases (line 26) | type testCases struct method run (line 34) | func (tcs testCases) run(t *testing.T) { function TestCrossFormatHappyPath (line 62) | func TestCrossFormatHappyPath(t *testing.T) { FILE: internal/cli/interactive.go function NewInteractiveCmd (line 11) | func NewInteractiveCmd(queryCmd *QueryCmd) *InteractiveCmd { type InteractiveCmd (line 24) | type InteractiveCmd struct method Run (line 37) | func (c *InteractiveCmd) Run(ctx *Globals) error { FILE: internal/cli/interactive_tea.go type interactiveDaselExecutor (line 39) | type interactiveDaselExecutor function newInteractiveTeaProgram (line 41) | func newInteractiveTeaProgram(initialInput string, initialSelector strin... type interactiveSharedData (line 48) | type interactiveSharedData struct type interactiveRootModel (line 55) | type interactiveRootModel struct method Init (line 82) | func (m *interactiveRootModel) Init() tea.Cmd { method cycleReader (line 104) | func (m *interactiveRootModel) cycleReader() { method cycleWriter (line 108) | func (m *interactiveRootModel) cycleWriter() { method Update (line 112) | func (m *interactiveRootModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method headerView (line 166) | func (m *interactiveRootModel) headerView() string { method inputView (line 181) | func (m *interactiveRootModel) inputView() string { method View (line 185) | func (m *interactiveRootModel) View() string { function newInteractiveRootModel (line 61) | func newInteractiveRootModel(initialInput string, initialSelector string... function cycleFormats (line 86) | func cycleFormats(all []parsing.Format, current parsing.Format) parsing.... FILE: internal/cli/interactive_tea_input.go type interactiveInputModel (line 8) | type interactiveInputModel struct method Init (line 27) | func (m *interactiveInputModel) Init() tea.Cmd { method Update (line 31) | func (m *interactiveInputModel) Update(msg tea.Msg) (tea.Model, tea.Cm... method View (line 48) | func (m *interactiveInputModel) View() string { function newInteractiveInputModel (line 13) | func newInteractiveInputModel(sharedData *interactiveSharedData) *intera... FILE: internal/cli/interactive_tea_output.go type interactiveOutputModel (line 10) | type interactiveOutputModel struct method Init (line 34) | func (m *interactiveOutputModel) Init() tea.Cmd { method setOutput (line 38) | func (m *interactiveOutputModel) setOutput(output string) { method setSize (line 45) | func (m *interactiveOutputModel) setSize(width int, height int) { method setVerticalPosition (line 55) | func (m *interactiveOutputModel) setVerticalPosition(pos int) { method Update (line 59) | func (m *interactiveOutputModel) Update(msg tea.Msg) (tea.Model, tea.C... method View (line 94) | func (m *interactiveOutputModel) View() string { function newInteractiveOutputModel (line 24) | func newInteractiveOutputModel(sharedData *interactiveSharedData, root b... FILE: internal/cli/query.go type QueryCmd (line 5) | type QueryCmd struct method Run (line 21) | func (c *QueryCmd) Run(ctx *Globals) error { FILE: internal/cli/read_write_flag.go type extReadWriteFlag (line 12) | type extReadWriteFlag struct type extReadWriteFlags (line 17) | type extReadWriteFlags function applyReaderFlags (line 19) | func applyReaderFlags(readerOptions *parsing.ReaderOptions, readerFlags ... function applyWriterFlags (line 32) | func applyWriterFlags(writerOptions *parsing.WriterOptions, writerFlags ... type extReadWriteFlagMapper (line 45) | type extReadWriteFlagMapper struct method Decode (line 48) | func (vm *extReadWriteFlagMapper) Decode(ctx *kong.DecodeContext, targ... FILE: internal/cli/run.go type runOpts (line 13) | type runOpts struct function run (line 29) | func run(o runOpts) ([]byte, error) { FILE: internal/cli/variable.go type variable (line 16) | type variable struct type variables (line 21) | type variables function variableOptions (line 23) | func variableOptions(vars variables) []execution.ExecuteOptionFn { type variableMapper (line 33) | type variableMapper struct method Decode (line 40) | func (vm *variableMapper) Decode(ctx *kong.DecodeContext, target refle... FILE: internal/cli/version.go type VersionCmd (line 5) | type VersionCmd struct method Run (line 8) | func (c *VersionCmd) Run(ctx *Globals) error { FILE: internal/ptr/to.go function To (line 4) | func To[T any](v T) *T { FILE: internal/ptr/to_test.go function TestTo (line 8) | func TestTo(t *testing.T) { FILE: internal/version.go function init (line 11) | func init() { FILE: model/error.go type MapKeyNotFound (line 6) | type MapKeyNotFound struct method Error (line 11) | func (e MapKeyNotFound) Error() string { type SliceIndexOutOfRange (line 16) | type SliceIndexOutOfRange struct method Error (line 21) | func (e SliceIndexOutOfRange) Error() string { type ErrIncompatibleTypes (line 26) | type ErrIncompatibleTypes struct method Error (line 32) | func (e ErrIncompatibleTypes) Error() string { type ErrUnexpectedType (line 36) | type ErrUnexpectedType struct method Error (line 41) | func (e ErrUnexpectedType) Error() string { type ErrUnexpectedTypes (line 45) | type ErrUnexpectedTypes struct method Error (line 50) | func (e ErrUnexpectedTypes) Error() string { FILE: model/go_value.go method GoValue (line 6) | func (v *Value) GoValue() (any, error) { FILE: model/go_value_test.go type goValueTestCase (line 9) | type goValueTestCase struct method run (line 15) | func (tc goValueTestCase) run(t *testing.T) { function TestValue_GoValue (line 28) | func TestValue_GoValue(t *testing.T) { FILE: model/orderedmap/map.go type KeyValue (line 8) | type KeyValue struct function NewMap (line 14) | func NewMap() *Map { function FromMap (line 26) | func FromMap(source map[string]any) *Map { type Map (line 35) | type Map struct method Len (line 42) | func (m *Map) Len() int { method Equal (line 46) | func (m *Map) Equal(other *Map) bool { method Get (line 65) | func (m *Map) Get(key string) (any, bool) { method Set (line 71) | func (m *Map) Set(key string, value any) *Map { method Delete (line 82) | func (m *Map) Delete(key string) *Map { method KeyValues (line 103) | func (m *Map) KeyValues() []KeyValue { method Keys (line 115) | func (m *Map) Keys() []string { method UnorderedData (line 120) | func (m *Map) UnorderedData() map[string]any { FILE: model/value.go type Type (line 10) | type Type method String (line 12) | func (t Type) String() string { constant TypeString (line 17) | TypeString Type = "string" constant TypeInt (line 18) | TypeInt Type = "int" constant TypeFloat (line 19) | TypeFloat Type = "float" constant TypeBool (line 20) | TypeBool Type = "bool" constant TypeMap (line 21) | TypeMap Type = "map" constant TypeSlice (line 22) | TypeSlice Type = "array" constant TypeUnknown (line 23) | TypeUnknown Type = "unknown" constant TypeNull (line 24) | TypeNull Type = "null" type KeyValue (line 28) | type KeyValue struct type Values (line 34) | type Values method ToSliceValue (line 37) | func (v Values) ToSliceValue() (*Value, error) { type Value (line 48) | type Value struct method String (line 56) | func (v *Value) String() string { method string (line 64) | func (v *Value) string(indent int) string { method isDaselValue (line 154) | func (v *Value) isDaselValue() bool { method daselValue (line 162) | func (v *Value) daselValue() (*Value, error) { method Interface (line 174) | func (v *Value) Interface() any { method Kind (line 182) | func (v *Value) Kind() reflect.Kind { method UnpackKinds (line 187) | func (v *Value) UnpackKinds(kinds ...reflect.Kind) *Value { method UnpackUntilType (line 214) | func (v *Value) UnpackUntilType(t reflect.Type) (*Value, error) { method UnpackUntilAddressable (line 239) | func (v *Value) UnpackUntilAddressable() (*Value, error) { method UnpackUntilKind (line 254) | func (v *Value) UnpackUntilKind(k reflect.Kind) (*Value, error) { method UnpackUntilKinds (line 269) | func (v *Value) UnpackUntilKinds(kinds ...reflect.Kind) (*Value, error) { method Type (line 284) | func (v *Value) Type() Type { method IsScalar (line 305) | func (v *Value) IsScalar() bool { method Len (line 320) | func (v *Value) Len() (int, error) { method Copy (line 345) | func (v *Value) Copy() (*Value, error) { function indentStr (line 60) | func indentStr(indent int) string { function NewValue (line 123) | func NewValue(v any) *Value { function NewNestedValue (line 147) | func NewNestedValue(v *Value) *Value { type ErrCouldNotUnpackToType (line 205) | type ErrCouldNotUnpackToType struct method Error (line 209) | func (e ErrCouldNotUnpackToType) Error() string { FILE: model/value_comparison.go method Compare (line 4) | func (v *Value) Compare(other *Value) (int, error) { method Equal (line 33) | func (v *Value) Equal(other *Value) (*Value, error) { method NotEqual (line 69) | func (v *Value) NotEqual(other *Value) (*Value, error) { method LessThan (line 82) | func (v *Value) LessThan(other *Value) (*Value, error) { method LessThanOrEqual (line 144) | func (v *Value) LessThanOrEqual(other *Value) (*Value, error) { method GreaterThan (line 165) | func (v *Value) GreaterThan(other *Value) (*Value, error) { method GreaterThanOrEqual (line 178) | func (v *Value) GreaterThanOrEqual(other *Value) (*Value, error) { method EqualTypeValue (line 191) | func (v *Value) EqualTypeValue(other *Value) (bool, error) { FILE: model/value_comparison_test.go type compareTestCase (line 9) | type compareTestCase struct function TestValue_Equal (line 15) | func TestValue_Equal(t *testing.T) { function TestValue_NotEqual (line 150) | func TestValue_NotEqual(t *testing.T) { function TestValue_LessThan (line 285) | func TestValue_LessThan(t *testing.T) { function TestValue_LessThanOrEqual (line 390) | func TestValue_LessThanOrEqual(t *testing.T) { function TestValue_GreaterThan (line 495) | func TestValue_GreaterThan(t *testing.T) { function TestValue_GreaterThanOrEqual (line 600) | func TestValue_GreaterThanOrEqual(t *testing.T) { function TestValue_Compare (line 705) | func TestValue_Compare(t *testing.T) { FILE: model/value_literal.go function newPtr (line 8) | func newPtr() reflect.Value { function NewNullValue (line 13) | func NewNullValue() *Value { method IsNull (line 18) | func (v *Value) IsNull() bool { method isNull (line 22) | func (v *Value) isNull() bool { function NewStringValue (line 32) | func NewStringValue(x string) *Value { method IsString (line 39) | func (v *Value) IsString() bool { method isString (line 43) | func (v *Value) isString() bool { method StringValue (line 48) | func (v *Value) StringValue() (string, error) { method StringLen (line 60) | func (v *Value) StringLen() (int, error) { method StringIndexRange (line 70) | func (v *Value) StringIndexRange(start, end int) (*Value, error) { function NewIntValue (line 104) | func NewIntValue(x int64) *Value { method IsInt (line 111) | func (v *Value) IsInt() bool { method isInt (line 115) | func (v *Value) isInt() bool { method IntValue (line 120) | func (v *Value) IntValue() (int64, error) { function NewFloatValue (line 132) | func NewFloatValue(x float64) *Value { method IsFloat (line 139) | func (v *Value) IsFloat() bool { method isFloat (line 143) | func (v *Value) isFloat() bool { method FloatValue (line 148) | func (v *Value) FloatValue() (float64, error) { function NewBoolValue (line 160) | func NewBoolValue(x bool) *Value { method IsBool (line 167) | func (v *Value) IsBool() bool { method isBool (line 171) | func (v *Value) isBool() bool { method BoolValue (line 176) | func (v *Value) BoolValue() (bool, error) { FILE: model/value_literal_test.go function TestValue_IsNull (line 9) | func TestValue_IsNull(t *testing.T) { FILE: model/value_map.go function NewMapValue (line 12) | func NewMapValue() *Value { method IsMap (line 17) | func (v *Value) IsMap() bool { method isStandardMap (line 21) | func (v *Value) isStandardMap() bool { method isDencodingMap (line 25) | func (v *Value) isDencodingMap() bool { method dencodingMapValue (line 29) | func (v *Value) dencodingMapValue() (*orderedmap.Map, error) { method SetMapKey (line 41) | func (v *Value) SetMapKey(key string, value *Value) error { method MapCopy (line 62) | func (v *Value) MapCopy() (*Value, error) { method MapKeyExists (line 76) | func (v *Value) MapKeyExists(key string) (bool, error) { method GetMapKey (line 85) | func (v *Value) GetMapKey(key string) (*Value, error) { method DeleteMapKey (line 137) | func (v *Value) DeleteMapKey(key string) error { method MapKeys (line 162) | func (v *Value) MapKeys() ([]string, error) { method RangeMap (line 190) | func (v *Value) RangeMap(f func(string, *Value) error) error { method MapKeyValues (line 210) | func (v *Value) MapKeyValues() ([]KeyValue, error) { method MapLen (line 233) | func (v *Value) MapLen() (int, error) { FILE: model/value_map_test.go function TestMap (line 11) | func TestMap(t *testing.T) { FILE: model/value_math.go method Add (line 9) | func (v *Value) Add(other *Value) (*Value, error) { method Subtract (line 69) | func (v *Value) Subtract(other *Value) (*Value, error) { method Multiply (line 118) | func (v *Value) Multiply(other *Value) (*Value, error) { method Divide (line 167) | func (v *Value) Divide(other *Value) (*Value, error) { method Modulo (line 216) | func (v *Value) Modulo(other *Value) (*Value, error) { FILE: model/value_math_test.go function TestValue_Add (line 9) | func TestValue_Add(t *testing.T) { function TestValue_Subtract (line 40) | func TestValue_Subtract(t *testing.T) { function TestValue_Multiply (line 68) | func TestValue_Multiply(t *testing.T) { function TestValue_Divide (line 96) | func TestValue_Divide(t *testing.T) { function TestValue_Modulo (line 124) | func TestValue_Modulo(t *testing.T) { FILE: model/value_metadata.go method MetadataValue (line 4) | func (v *Value) MetadataValue(key string) (any, bool) { method SetMetadataValue (line 13) | func (v *Value) SetMetadataValue(key string, val any) { method IsSpread (line 22) | func (v *Value) IsSpread() bool { method MarkAsSpread (line 36) | func (v *Value) MarkAsSpread() { method IsBranch (line 41) | func (v *Value) IsBranch() bool { method MarkAsBranch (line 54) | func (v *Value) MarkAsBranch() { method IsIgnore (line 59) | func (v *Value) IsIgnore() bool { method MarkAsIgnore (line 72) | func (v *Value) MarkAsIgnore() { FILE: model/value_metadata_test.go function TestValue_IsBranch (line 9) | func TestValue_IsBranch(t *testing.T) { function TestValue_IsSpread (line 20) | func TestValue_IsSpread(t *testing.T) { FILE: model/value_set.go method Set (line 9) | func (v *Value) Set(newValue *Value) error { FILE: model/value_set_test.go type setTestCase (line 9) | type setTestCase struct method run (line 16) | func (tc setTestCase) run(t *testing.T) { function TestValue_Set (line 40) | func TestValue_Set(t *testing.T) { FILE: model/value_slice.go function NewSliceValue (line 9) | func NewSliceValue() *Value { method IsSlice (line 19) | func (v *Value) IsSlice() bool { method isSlice (line 23) | func (v *Value) isSlice() bool { method Append (line 28) | func (v *Value) Append(val *Value) error { method SliceLen (line 53) | func (v *Value) SliceLen() (int, error) { method GetSliceIndex (line 65) | func (v *Value) GetSliceIndex(i int) (*Value, error) { method SetSliceIndex (line 93) | func (v *Value) SetSliceIndex(i int, val *Value) error { method RangeSlice (line 109) | func (v *Value) RangeSlice(f func(int, *Value) error) error { method SliceIndexRange (line 130) | func (v *Value) SliceIndexRange(start, end int) (*Value, error) { FILE: model/value_slice_test.go function TestSlice (line 9) | func TestSlice(t *testing.T) { FILE: model/value_test.go function TestType_String (line 9) | func TestType_String(t *testing.T) { function TestValue_Len (line 28) | func TestValue_Len(t *testing.T) { function TestValue_IsScalar (line 55) | func TestValue_IsScalar(t *testing.T) { FILE: parsing/csv/csv.go constant CSV (line 10) | CSV parsing.Format = "csv" function init (line 15) | func init() { function newCSVWriter (line 20) | func newCSVWriter(options parsing.WriterOptions) (parsing.Writer, error) { function valueFromString (line 30) | func valueFromString(s string) (*model.Value, error) { function valueToString (line 34) | func valueToString(v *model.Value) (string, error) { FILE: parsing/csv/csv_test.go function TestValueToString (line 8) | func TestValueToString(t *testing.T) { FILE: parsing/csv/reader.go function newCSVReader (line 13) | func newCSVReader(options parsing.ReaderOptions) (parsing.Reader, error) { type csvReader (line 23) | type csvReader struct method Read (line 28) | func (j *csvReader) Read(data []byte) (*model.Value, error) { FILE: parsing/csv/reader_test.go function TestCsvReader_Read (line 10) | func TestCsvReader_Read(t *testing.T) { FILE: parsing/csv/writer.go type csvWriter (line 10) | type csvWriter struct method Write (line 15) | func (j *csvWriter) Write(value *model.Value) ([]byte, error) { FILE: parsing/csv/writer_test.go function TestCsvWriter_Write (line 10) | func TestCsvWriter_Write(t *testing.T) { FILE: parsing/d/reader.go constant Dasel (line 14) | Dasel parsing.Format = "dasel" function init (line 19) | func init() { function newDaselReader (line 23) | func newDaselReader(options parsing.ReaderOptions) (parsing.Reader, erro... type daselReader (line 27) | type daselReader struct method Read (line 30) | func (dr *daselReader) Read(in []byte) (*model.Value, error) { FILE: parsing/format.go type Format (line 8) | type Format method NewReader (line 11) | func (f Format) NewReader(options ReaderOptions) (Reader, error) { method NewWriter (line 20) | func (f Format) NewWriter(options WriterOptions) (Writer, error) { method String (line 33) | func (f Format) String() string { function RegisteredReaders (line 38) | func RegisteredReaders() []Format { function RegisteredWriters (line 47) | func RegisteredWriters() []Format { FILE: parsing/hcl/hcl.go constant HCL (line 9) | HCL parsing.Format = "hcl" function init (line 15) | func init() { FILE: parsing/hcl/reader.go function newHCLReader (line 14) | func newHCLReader(options parsing.ReaderOptions) (parsing.Reader, error) { type hclReader (line 20) | type hclReader struct method Read (line 27) | func (r *hclReader) Read(data []byte) (*model.Value, error) { method decodeHCLBody (line 38) | func (r *hclReader) decodeHCLBody(body *hclsyntax.Body) (*model.Value,... method decodeHCLBodyBlocks (line 61) | func (r *hclReader) decodeHCLBodyBlocks(body *hclsyntax.Body, res *mod... method decodeHCLBlock (line 70) | func (r *hclReader) decodeHCLBlock(block *hclsyntax.Block, res *model.... method decodeHCLExpr (line 155) | func (r *hclReader) decodeHCLExpr(expr hcl.Expression) (*model.Value, ... method decodeCtyValue (line 162) | func (r *hclReader) decodeCtyValue(source cty.Value) (res *model.Value... FILE: parsing/hcl/reader_test.go type readTestCase (line 11) | type readTestCase struct method run (line 15) | func (tc readTestCase) run(t *testing.T) { function TestHclReader_Read (line 32) | func TestHclReader_Read(t *testing.T) { FILE: parsing/hcl/writer.go function newHCLWriter (line 12) | func newHCLWriter(options parsing.WriterOptions) (parsing.Writer, error) { type hclWriter (line 18) | type hclWriter struct method Write (line 23) | func (j *hclWriter) Write(value *model.Value) ([]byte, error) { method valueToFile (line 36) | func (j *hclWriter) valueToFile(v *model.Value) (*hclwrite.File, error) { method addValueToBody (line 48) | func (j *hclWriter) addValueToBody(previousLabels []string, v *model.V... method valueToCty (line 118) | func (j *hclWriter) valueToCty(v *model.Value) (cty.Value, error) { method valueToBlock (line 177) | func (j *hclWriter) valueToBlock(key string, labels []string, v *model... FILE: parsing/hcl/writer_test.go type readWriteTestCase (line 12) | type readWriteTestCase struct method run (line 16) | func (tc readWriteTestCase) run(t *testing.T) { function TestHclReader_ReadWrite (line 46) | func TestHclReader_ReadWrite(t *testing.T) { FILE: parsing/ini/ini.go constant INI (line 9) | INI parsing.Format = "ini" function init (line 12) | func init() { FILE: parsing/ini/ini_reader.go function init (line 12) | func init() { function newINIReader (line 17) | func newINIReader(options parsing.ReaderOptions) (parsing.Reader, error) { type iniReader (line 21) | type iniReader struct method Read (line 24) | func (j *iniReader) Read(data []byte) (*model.Value, error) { method readSection (line 51) | func (j *iniReader) readSection(s *ini.Section) (*model.Value, error) { FILE: parsing/ini/ini_test.go function TestIni (line 11) | func TestIni(t *testing.T) { FILE: parsing/ini/ini_writer.go function newINIWriter (line 14) | func newINIWriter(options parsing.WriterOptions) (parsing.Writer, error) { type iniWriter (line 20) | type iniWriter struct method Write (line 25) | func (j *iniWriter) Write(value *model.Value) ([]byte, error) { method write (line 47) | func (j *iniWriter) write(f *ini.File, path string, value *model.Value... function valueToString (line 94) | func valueToString(v *model.Value) (string, error) { FILE: parsing/json/json.go constant JSON (line 10) | JSON parsing.Format = "json" constant jsonOpenObject (line 12) | jsonOpenObject = json.Delim('{') constant jsonCloseObject (line 13) | jsonCloseObject = json.Delim('}') constant jsonOpenArray (line 14) | jsonOpenArray = json.Delim('[') constant jsonCloseArray (line 15) | jsonCloseArray = json.Delim(']') function init (line 18) | func init() { FILE: parsing/json/json_reader.go function newJSONReader (line 14) | func newJSONReader(options parsing.ReaderOptions) (parsing.Reader, error) { type jsonReader (line 18) | type jsonReader struct method Read (line 21) | func (j *jsonReader) Read(data []byte) (*model.Value, error) { method decodeObject (line 53) | func (j *jsonReader) decodeObject(decoder *json.Decoder) (*model.Value... method decodeArray (line 115) | func (j *jsonReader) decodeArray(decoder *json.Decoder) (*model.Value,... method decodeToken (line 157) | func (j *jsonReader) decodeToken(decoder *json.Decoder, t json.Token) ... FILE: parsing/json/json_test.go function TestJson (line 11) | func TestJson(t *testing.T) { FILE: parsing/json/json_writer.go function newJSONWriter (line 16) | func newJSONWriter(options parsing.WriterOptions) (parsing.Writer, error) { type jsonWriter (line 22) | type jsonWriter struct method Write (line 27) | func (j *jsonWriter) Write(value *model.Value) ([]byte, error) { method write (line 75) | func (j *jsonWriter) write(w io.Writer, encoder encoderFn, es encoderS... method writeMap (line 112) | func (j *jsonWriter) writeMap(w io.Writer, encoder encoderFn, es encod... method writeSlice (line 163) | func (j *jsonWriter) writeSlice(w io.Writer, encoder encoderFn, es enc... type encoderState (line 52) | type encoderState struct method inc (line 57) | func (es encoderState) inc() encoderState { method writeIndent (line 62) | func (es encoderState) writeIndent(w io.Writer) error { type encoderFn (line 73) | type encoderFn FILE: parsing/reader.go type ReaderOptions (line 7) | type ReaderOptions struct function DefaultReaderOptions (line 12) | func DefaultReaderOptions() ReaderOptions { type Reader (line 19) | type Reader interface type NewReaderFn (line 25) | type NewReaderFn function RegisterReader (line 28) | func RegisterReader(format Format, fn NewReaderFn) { FILE: parsing/toml/toml.go constant TOML (line 10) | TOML parsing.Format = "toml" function init (line 12) | func init() { FILE: parsing/toml/toml_reader.go function newTOMLReader (line 15) | func newTOMLReader(options parsing.ReaderOptions) (parsing.Reader, error) { constant tomlStringStyleKey (line 20) | tomlStringStyleKey = "toml_string_style" constant tomlStringStyleMultilineLiteral (line 22) | tomlStringStyleMultilineLiteral = "multiline_literal" constant tomlStringStyleMultilineBasic (line 23) | tomlStringStyleMultilineBasic = "multiline_basic" constant tomlStringStyleLiteral (line 24) | tomlStringStyleLiteral = "literal" constant tomlStringStyleBasic (line 25) | tomlStringStyleBasic = "basic" constant tomlTableStyleKey (line 27) | tomlTableStyleKey = "toml_table_style" constant tomlTableStyleStandard (line 28) | tomlTableStyleStandard = "standard" constant tomlTableStyleArray (line 29) | tomlTableStyleArray = "array" constant tomlTableStyleInline (line 30) | tomlTableStyleInline = "inline" type tomlReader (line 33) | type tomlReader struct method Read (line 36) | func (j *tomlReader) Read(data []byte) (*model.Value, error) { method readNode (line 110) | func (j *tomlReader) readNode(p *unstable.Parser, n *unstable.Node) (s... method parseKeyValueNode (line 172) | func (j *tomlReader) parseKeyValueNode(p *unstable.Parser, n *unstable... method readInlineTable (line 327) | func (j *tomlReader) readInlineTable(p *unstable.Parser, n *unstable.N... method readArrayValue (line 362) | func (j *tomlReader) readArrayValue(p *unstable.Parser, n *unstable.No... function extractKeyFromTableNode (line 201) | func extractKeyFromTableNode(p *unstable.Parser, n *unstable.Node) ([]st... function ensureMapAt (line 226) | func ensureMapAt(root *model.Value, path []string) (*model.Value, error) { function ensureSliceAt (line 267) | func ensureSliceAt(root *model.Value, path []string) (*model.Value, erro... function setDottedKey (line 301) | func setDottedKey(root, active *model.Value, parts []string, val *model.... FILE: parsing/toml/toml_reader_test.go function tomlReaderTest (line 13) | func tomlReaderTest(data []byte, exp func() *model.Value) func(*testing.... function TestTomlReader_Read (line 41) | func TestTomlReader_Read(t *testing.T) { function TestTomlReader_MoreCases (line 158) | func TestTomlReader_MoreCases(t *testing.T) { function TestTomlReader_QuotedKeys (line 285) | func TestTomlReader_QuotedKeys(t *testing.T) { function TestTomlReader_ComplexFile (line 312) | func TestTomlReader_ComplexFile(t *testing.T) { function TestTomlReader_EdgeCases (line 383) | func TestTomlReader_EdgeCases(t *testing.T) { function TestTomlReader_TimeStrings (line 517) | func TestTomlReader_TimeStrings(t *testing.T) { FILE: parsing/toml/toml_writer.go function newTOMLWriter (line 17) | func newTOMLWriter(options parsing.WriterOptions) (parsing.Writer, error) { type tomlWriter (line 22) | type tomlWriter struct method Write (line 30) | func (j *tomlWriter) Write(value *model.Value) ([]byte, error) { function buildGoValueForMap (line 79) | func buildGoValueForMap(v *model.Value) (interface{}, error) { function goTypeAndValue (line 139) | func goTypeAndValue(v *model.Value) (reflect.Type, reflect.Value, error) { FILE: parsing/toml/toml_writer_test.go function TestTomlWriter_RoundTripSimple (line 12) | func TestTomlWriter_RoundTripSimple(t *testing.T) { function TestTomlWriter_OrderPreserved (line 59) | func TestTomlWriter_OrderPreserved(t *testing.T) { function TestTomlWriter_ArrayOfTables_RoundTrip (line 93) | func TestTomlWriter_ArrayOfTables_RoundTrip(t *testing.T) { function TestTomlWriter_MoreCases (line 140) | func TestTomlWriter_MoreCases(t *testing.T) { function TestTomlWriter_StrictOutput (line 244) | func TestTomlWriter_StrictOutput(t *testing.T) { FILE: parsing/writer.go type WriterOptions (line 12) | type WriterOptions struct function DefaultWriterOptions (line 19) | func DefaultWriterOptions() WriterOptions { type Writer (line 28) | type Writer interface type NewWriterFn (line 34) | type NewWriterFn function RegisterWriter (line 37) | func RegisterWriter(format Format, fn NewWriterFn) { type DocumentSeparator (line 42) | type DocumentSeparator interface function MultiDocumentWriter (line 48) | func MultiDocumentWriter(w Writer) Writer { type multiDocumentWriter (line 52) | type multiDocumentWriter struct method Write (line 57) | func (w *multiDocumentWriter) Write(value *model.Value) ([]byte, error) { FILE: parsing/xml/reader.go constant maxCommentLength (line 18) | maxCommentLength = 10_000 constant maxTotalComments (line 19) | maxTotalComments = 1_000 constant maxXMLSize (line 20) | maxXMLSize = 10_000_000 function newXMLReader (line 23) | func newXMLReader(options parsing.ReaderOptions) (parsing.Reader, error) { type xmlReader (line 29) | type xmlReader struct method Read (line 34) | func (j *xmlReader) Read(data []byte) (*model.Value, error) { method parseElement (line 167) | func (j *xmlReader) parseElement(decoder *xml.Decoder, element xml.Sta... method toStructuredModel (line 58) | func (e *xmlElement) toStructuredModel() (*model.Value, error) { method toFriendlyModel (line 98) | func (e *xmlElement) toFriendlyModel() (*model.Value, error) { FILE: parsing/xml/reader_test.go function TestXmlReader_Read (line 11) | func TestXmlReader_Read(t *testing.T) { FILE: parsing/xml/structured_comment_test.go function newTestReaderWriter (line 12) | func newTestReaderWriter(t *testing.T) (parsing.Reader, parsing.Writer) { function assertRoundTrip (line 26) | func assertRoundTrip(t *testing.T, r parsing.Reader, w parsing.Writer, i... function TestXmlReader_StructuredModeWithComments (line 47) | func TestXmlReader_StructuredModeWithComments(t *testing.T) { function TestXmlRoundTrip_CommentPreservation (line 93) | func TestXmlRoundTrip_CommentPreservation(t *testing.T) { function TestXmlRoundTrip_EdgeCases (line 157) | func TestXmlRoundTrip_EdgeCases(t *testing.T) { function TestXmlRoundTrip_SpecialCommentContent (line 209) | func TestXmlRoundTrip_SpecialCommentContent(t *testing.T) { function TestXmlReader_SecurityLimits (line 236) | func TestXmlReader_SecurityLimits(t *testing.T) { function TestXmlRoundTrip_ProcessingInstructionReset (line 298) | func TestXmlRoundTrip_ProcessingInstructionReset(t *testing.T) { function TestXmlRoundTrip_ProcessingInstructions (line 384) | func TestXmlRoundTrip_ProcessingInstructions(t *testing.T) { FILE: parsing/xml/writer.go function newXMLWriter (line 13) | func newXMLWriter(options parsing.WriterOptions) (parsing.Writer, error) { type xmlWriter (line 19) | type xmlWriter struct method Write (line 24) | func (j *xmlWriter) Write(value *model.Value) ([]byte, error) { method toElement (line 55) | func (j *xmlWriter) toElement(key string, value *model.Value) (*xmlEle... function valueToString (line 156) | func valueToString(v *model.Value) (string, error) { function indentString (line 192) | func indentString(depth int) string { method MarshalXML (line 196) | func (e *xmlElement) MarshalXML(enc *xml.Encoder, start xml.StartElement... FILE: parsing/xml/writer_internal_test.go function TestXmlWriter_CommentValidation (line 12) | func TestXmlWriter_CommentValidation(t *testing.T) { function Test_valueToString (line 74) | func Test_valueToString(t *testing.T) { FILE: parsing/xml/writer_test.go function TestXmlReader_Write (line 11) | func TestXmlReader_Write(t *testing.T) { FILE: parsing/xml/xml.go constant XML (line 9) | XML parsing.Format = "xml" function init (line 15) | func init() { type xmlAttr (line 20) | type xmlAttr struct type xmlProcessingInstruction (line 25) | type xmlProcessingInstruction struct type xmlComment (line 30) | type xmlComment struct type xmlElement (line 34) | type xmlElement struct FILE: parsing/yaml/yaml.go constant YAML (line 10) | YAML parsing.Format = "yaml" function init (line 12) | func init() { type yamlValue (line 17) | type yamlValue struct FILE: parsing/yaml/yaml_reader.go function newYAMLReader (line 17) | func newYAMLReader(options parsing.ReaderOptions) (parsing.Reader, error) { type yamlReader (line 24) | type yamlReader struct method Read (line 39) | func (j *yamlReader) Read(data []byte) (*model.Value, error) { constant maxExpansionDepth (line 35) | maxExpansionDepth = 32 constant maxExpansionBudget (line 36) | maxExpansionBudget = 1000 method UnmarshalYAML (line 88) | func (yv *yamlValue) UnmarshalYAML(value *yaml.Node) error { FILE: parsing/yaml/yaml_test.go type testCase (line 16) | type testCase struct method run (line 21) | func (tc testCase) run(t *testing.T) { type rwTestCase (line 34) | type rwTestCase struct method run (line 39) | func (tc rwTestCase) run(t *testing.T) { function TestYamlValue_UnmarshalYAML (line 65) | func TestYamlValue_UnmarshalYAML(t *testing.T) { FILE: parsing/yaml/yaml_writer.go function newYAMLWriter (line 13) | func newYAMLWriter(options parsing.WriterOptions) (parsing.Writer, error) { type yamlWriter (line 17) | type yamlWriter struct method Separator (line 19) | func (j *yamlWriter) Separator() []byte { method Write (line 24) | func (j *yamlWriter) Write(value *model.Value) ([]byte, error) { method ToNode (line 33) | func (yv *yamlValue) ToNode() (*yaml.Node, error) { method MarshalYAML (line 123) | func (yv *yamlValue) MarshalYAML() (any, error) { FILE: selector/ast/ast.go type Program (line 3) | type Program struct type Statement (line 7) | type Statement struct type Expressions (line 11) | type Expressions type Expr (line 13) | type Expr interface function IsType (line 17) | func IsType[T Expr](e Expr) bool { function AsType (line 22) | func AsType[T Expr](e Expr) (T, bool) { function LastAsType (line 27) | func LastAsType[T Expr](e Expr) (T, bool) { function Last (line 31) | func Last(e Expr) Expr { function RemoveLast (line 38) | func RemoveLast(e Expr) Expr { FILE: selector/ast/ast_test.go function TestExpr_expr (line 8) | func TestExpr_expr(t *testing.T) { FILE: selector/ast/expression_complex.go type BinaryExpr (line 5) | type BinaryExpr struct method expr (line 11) | func (BinaryExpr) expr() {} type UnaryExpr (line 13) | type UnaryExpr struct method expr (line 18) | func (UnaryExpr) expr() {} type CallExpr (line 20) | type CallExpr struct method expr (line 25) | func (CallExpr) expr() {} type ChainedExpr (line 27) | type ChainedExpr struct method expr (line 43) | func (ChainedExpr) expr() {} function ChainExprs (line 31) | func ChainExprs(exprs ...Expr) Expr { type SpreadExpr (line 45) | type SpreadExpr struct method expr (line 47) | func (SpreadExpr) expr() {} type RangeExpr (line 49) | type RangeExpr struct method expr (line 54) | func (RangeExpr) expr() {} type IndexExpr (line 56) | type IndexExpr struct method expr (line 60) | func (IndexExpr) expr() {} type ArrayExpr (line 62) | type ArrayExpr struct method expr (line 66) | func (ArrayExpr) expr() {} type PropertyExpr (line 68) | type PropertyExpr struct method expr (line 75) | func (PropertyExpr) expr() {} type KeyValue (line 77) | type KeyValue struct type ObjectExpr (line 82) | type ObjectExpr struct method expr (line 86) | func (ObjectExpr) expr() {} type MapExpr (line 88) | type MapExpr struct method expr (line 92) | func (MapExpr) expr() {} type EachExpr (line 94) | type EachExpr struct method expr (line 98) | func (EachExpr) expr() {} type FilterExpr (line 100) | type FilterExpr struct method expr (line 104) | func (FilterExpr) expr() {} type SearchExpr (line 106) | type SearchExpr struct method expr (line 110) | func (SearchExpr) expr() {} type RecursiveDescentExpr (line 112) | type RecursiveDescentExpr struct method expr (line 117) | func (RecursiveDescentExpr) expr() {} type SortByExpr (line 119) | type SortByExpr struct method expr (line 124) | func (SortByExpr) expr() {} type VariableExpr (line 126) | type VariableExpr struct method expr (line 130) | func (VariableExpr) expr() {} type GroupExpr (line 132) | type GroupExpr struct method expr (line 136) | func (GroupExpr) expr() {} type ConditionalExpr (line 138) | type ConditionalExpr struct method expr (line 144) | func (ConditionalExpr) expr() {} type BranchExpr (line 146) | type BranchExpr struct method expr (line 150) | func (BranchExpr) expr() {} function BranchExprs (line 152) | func BranchExprs(exprs ...Expr) Expr { type AssignExpr (line 158) | type AssignExpr struct method expr (line 163) | func (AssignExpr) expr() {} FILE: selector/ast/expression_literal.go type NumberFloatExpr (line 5) | type NumberFloatExpr struct method expr (line 9) | func (NumberFloatExpr) expr() {} type NumberIntExpr (line 11) | type NumberIntExpr struct method expr (line 15) | func (NumberIntExpr) expr() {} type StringExpr (line 17) | type StringExpr struct method expr (line 21) | func (StringExpr) expr() {} type BoolExpr (line 23) | type BoolExpr struct method expr (line 27) | func (BoolExpr) expr() {} type RegexExpr (line 29) | type RegexExpr struct method expr (line 33) | func (RegexExpr) expr() {} type NullExpr (line 35) | type NullExpr struct method expr (line 37) | func (NullExpr) expr() {} FILE: selector/lexer/token.go type TokenKind (line 8) | type TokenKind function TokenKinds (line 10) | func TokenKinds(tk ...TokenKind) []TokenKind { constant EOF (line 15) | EOF TokenKind = iota constant Symbol (line 16) | Symbol constant Comma (line 17) | Comma constant Colon (line 18) | Colon constant OpenBracket (line 19) | OpenBracket constant CloseBracket (line 20) | CloseBracket constant OpenCurly (line 21) | OpenCurly constant CloseCurly (line 22) | CloseCurly constant OpenParen (line 23) | OpenParen constant CloseParen (line 24) | CloseParen constant Equal (line 25) | Equal constant Equals (line 26) | Equals constant NotEqual (line 27) | NotEqual constant And (line 28) | And constant Or (line 29) | Or constant Like (line 30) | Like constant NotLike (line 31) | NotLike constant String (line 32) | String constant Number (line 33) | Number constant Bool (line 34) | Bool constant Plus (line 35) | Plus constant Increment (line 36) | Increment constant IncrementBy (line 37) | IncrementBy constant Dash (line 38) | Dash constant Decrement (line 39) | Decrement constant DecrementBy (line 40) | DecrementBy constant Star (line 41) | Star constant Slash (line 42) | Slash constant Percent (line 43) | Percent constant Dot (line 44) | Dot constant Spread (line 45) | Spread constant RecursiveDescent (line 46) | RecursiveDescent constant Dollar (line 47) | Dollar constant Variable (line 48) | Variable constant GreaterThan (line 49) | GreaterThan constant GreaterThanOrEqual (line 50) | GreaterThanOrEqual constant LessThan (line 51) | LessThan constant LessThanOrEqual (line 52) | LessThanOrEqual constant Exclamation (line 53) | Exclamation constant Null (line 54) | Null constant If (line 55) | If constant Else (line 56) | Else constant ElseIf (line 57) | ElseIf constant Branch (line 58) | Branch constant Map (line 59) | Map constant Each (line 60) | Each constant Filter (line 61) | Filter constant Search (line 62) | Search constant RegexPattern (line 63) | RegexPattern constant SortBy (line 64) | SortBy constant Asc (line 65) | Asc constant Desc (line 66) | Desc constant QuestionMark (line 67) | QuestionMark constant DoubleQuestionMark (line 68) | DoubleQuestionMark constant Semicolon (line 69) | Semicolon type Tokens (line 72) | type Tokens method Split (line 74) | func (tt Tokens) Split(kind TokenKind) []Tokens { type Token (line 93) | type Token struct method IsKind (line 109) | func (t Token) IsKind(kind ...TokenKind) bool { function NewToken (line 100) | func NewToken(kind TokenKind, value string, pos int, len int) Token { type UnexpectedTokenError (line 113) | type UnexpectedTokenError struct method Error (line 118) | func (e *UnexpectedTokenError) Error() string { type UnexpectedEOFError (line 122) | type UnexpectedEOFError struct method Error (line 126) | func (e *UnexpectedEOFError) Error() string { FILE: selector/lexer/tokenize.go type Tokenizer (line 10) | type Tokenizer struct method Tokenize (line 24) | func (p *Tokenizer) Tokenize() (Tokens, error) { method peekRuneEqual (line 39) | func (p *Tokenizer) peekRuneEqual(i int, to rune) bool { method peekRuneMatches (line 46) | func (p *Tokenizer) peekRuneMatches(i int, fn func(rune) bool) bool { method parseCurRune (line 53) | func (p *Tokenizer) parseCurRune() (Token, error) { method Next (line 328) | func (p *Tokenizer) Next() (Token, error) { function NewTokenizer (line 16) | func NewTokenizer(src string) *Tokenizer { FILE: selector/lexer/tokenize_test.go type testCase (line 10) | type testCase struct method run (line 15) | func (tc testCase) run(t *testing.T) { type errTestCase (line 32) | type errTestCase struct method run (line 37) | func (tc errTestCase) run(t *testing.T) { function matchUnexpectedError (line 49) | func matchUnexpectedError(r rune, p int) func(error) bool { function matchUnexpectedEOFError (line 60) | func matchUnexpectedEOFError(p int) func(error) bool { function TestTokenizer_Parse (line 71) | func TestTokenizer_Parse(t *testing.T) { FILE: selector/parser.go function Parse (line 9) | func Parse(selector string) (ast.Expr, error) { FILE: selector/parser/denotations.go type bindingPower (line 31) | type bindingPower constant bpDefault (line 34) | bpDefault bindingPower = iota constant bpAssignment (line 35) | bpAssignment constant bpLogical (line 36) | bpLogical constant bpEarlyLogical (line 37) | bpEarlyLogical constant bpRelational (line 38) | bpRelational constant bpAdditive (line 39) | bpAdditive constant bpMultiplicative (line 40) | bpMultiplicative constant bpUnary (line 41) | bpUnary constant bpCall (line 42) | bpCall constant bpProperty (line 43) | bpProperty constant bpLiteral (line 44) | bpLiteral function getTokenBindingPower (line 85) | func getTokenBindingPower(t lexer.TokenKind) bindingPower { FILE: selector/parser/error.go type PositionalError (line 9) | type PositionalError struct method Error (line 14) | func (e *PositionalError) Error() string { type UnexpectedTokenError (line 18) | type UnexpectedTokenError struct method Error (line 22) | func (e *UnexpectedTokenError) Error() string { FILE: selector/parser/parse_array.go function parseArray (line 8) | func parseArray(p *Parser) (ast.Expr, error) { function parseIndexSquareBrackets (line 39) | func parseIndexSquareBrackets(p *Parser, expectIndex bool) (ast.Expr, er... FILE: selector/parser/parse_branch.go function parseBranch (line 8) | func parseBranch(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_each.go function parseEach (line 8) | func parseEach(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_filter.go function parseFilter (line 8) | func parseFilter(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_func.go function parseFunc (line 8) | func parseFunc(p *Parser) (ast.Expr, error) { function parseArgs (line 29) | func parseArgs(p *Parser) (ast.Expressions, error) { FILE: selector/parser/parse_group.go function parseGroup (line 8) | func parseGroup(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_if.go function parseIfBody (line 8) | func parseIfBody(p *Parser) (ast.Expr, error) { function parseIfCondition (line 12) | func parseIfCondition(p *Parser) (ast.Expr, error) { function parseIf (line 16) | func parseIf(p *Parser) (ast.Expr, error) { method parseExpressionsFromTo (line 78) | func (p *Parser) parseExpressionsFromTo( FILE: selector/parser/parse_literal.go function parseStringLiteral (line 13) | func parseStringLiteral(p *Parser) (ast.Expr, error) { function parseBoolLiteral (line 21) | func parseBoolLiteral(p *Parser) (ast.Expr, error) { function parseSpread (line 29) | func parseSpread(p *Parser) (ast.Expr, error) { function parseNumberLiteral (line 34) | func parseNumberLiteral(p *Parser) (ast.Expr, error) { function parseRegexPattern (line 84) | func parseRegexPattern(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_map.go function parseMap (line 8) | func parseMap(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_object.go function parseObject (line 10) | func parseObject(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_recursive_descent.go function parseRecursiveDescent (line 8) | func parseRecursiveDescent(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_search.go function parseSearch (line 8) | func parseSearch(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_sort_by.go function parseSortBy (line 8) | func parseSortBy(p *Parser) (ast.Expr, error) { FILE: selector/parser/parse_symbol.go function parseFollowingSymbol (line 11) | func parseFollowingSymbol(p *Parser, prev ast.Expr) (ast.Expr, error) { function parseSymbol (line 67) | func parseSymbol(p *Parser, withFollowing bool, allowFunc bool) (ast.Exp... FILE: selector/parser/parse_variable.go function parseVariable (line 7) | func parseVariable(p *Parser) (ast.Expr, error) { FILE: selector/parser/parser.go type Parser (line 10) | type Parser struct method parseExpressionsAsSlice (line 21) | func (p *Parser) parseExpressionsAsSlice( method parseExpressions (line 64) | func (p *Parser) parseExpressions( method Parse (line 83) | func (p *Parser) Parse() (ast.Expr, error) { method parseExpression (line 87) | func (p *Parser) parseExpression(bp bindingPower) (left ast.Expr, err ... method hasToken (line 203) | func (p *Parser) hasToken() bool { method hasTokenN (line 207) | func (p *Parser) hasTokenN(n int) bool { method current (line 211) | func (p *Parser) current() lexer.Token { method advance (line 218) | func (p *Parser) advance() lexer.Token { method advanceN (line 222) | func (p *Parser) advanceN(n int) lexer.Token { method peek (line 227) | func (p *Parser) peek() lexer.Token { method peekN (line 231) | func (p *Parser) peekN(n int) lexer.Token { method expect (line 238) | func (p *Parser) expect(kind ...lexer.TokenKind) error { method expectN (line 248) | func (p *Parser) expectN(n int, kind ...lexer.TokenKind) error { function NewParser (line 15) | func NewParser(tokens lexer.Tokens) *Parser { FILE: selector/parser/parser_binary.go function parseBinary (line 7) | func parseBinary(p *Parser, left ast.Expr) (ast.Expr, error) { FILE: selector/parser/parser_test.go type happyTestCase (line 12) | type happyTestCase struct method run (line 17) | func (tc happyTestCase) run(t *testing.T) { function TestParser_Parse_HappyPath (line 31) | func TestParser_Parse_HappyPath(t *testing.T) {