Create a gist now

Instantly share code, notes, and snippets.

Trivial test-parser
class TestParser extends JavaTokenParsers with CompletingParser {
def propertyPath: Parser[Any] = "name" | ( "child"~opt("."~childProperties) ) | "chunk"
def childProperties: Parser[Any] = "name" | "toys" | "tolerance"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment