Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Trivial test-parser

View TestParser.scala
1 2 3 4 5 6 7
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
Something went wrong with that request. Please try again.