Skip to content

@etluchs /TestParser.scala
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Something went wrong with that request. Please try again.