| 1 | package selectorscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector`/ |
| 2 | |
| 3 | import ( |
| 4 | "github.com/tomwright/dasel/v3/selector/astscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/ast`/" |
| 5 | "github.com/tomwright/dasel/v3/selector/lexerscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/lexer`/" |
| 6 | "github.com/tomwright/dasel/v3/selector/parserscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/parser`/" |
| 7 | ) |
| 8 | |
| 9 | func Parsescip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector`/Parse().(selector string) (astscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/ast`/.Exprscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/ast`/Expr#, error) { |
| 10 | tokens, err := lexerscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/lexer`/.NewTokenizerscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/lexer`/NewTokenizer().(selector).Tokenizescip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/lexer`/Tokenizer#Tokenize().() |
| 11 | if err != nil { |
| 12 | return nil, err |
| 13 | } |
| 14 | |
| 15 | return parserscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/parser`/.NewParserscip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/parser`/NewParser().(tokens).Parsescip-go gomod github.com/tomwright/dasel/v3 . `github.com/tomwright/dasel/v3/selector/parser`/Parser#Parse().() |
| 16 | } |