SelectorParser

class SelectorParser[F[_]](val input: String)(implicit F: MonadError[F, Throwable])

Parses a filter string. Syntax is as follows:

Selector ::= `.`
          | Sel Sel*

Sel ::= `.` Name `!`? `?`?
     | `.` `[` String (`,` String)* `]` `!`? `?`?
     | `.` `[` Integer (`,` Integer)* `]` `?`?
     | `.` `[` Integer `:` Integer `]` `?`?
     | `.` `[` `]` `?`?

Name ::= [a-zA-Z_][a-zA-Z0-9_]*

String ::= <a json string>

Integer ::= 0
         | [1-9][0-9]*
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def parse(): F[Selector]

Concrete fields

val input: String