Created
April 9, 2014 14:59
-
-
Save adilakhter/10280199 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy val oDataQuery: PackratParser[SourceNode]={ | |
serviceURL ~ resourcePath ~ opt(queryOperationDef) ^^ { | |
case uri ~ path ~ None => ODataQuery(uri, path, QueryOperations(Seq.empty)) | |
case uri ~ path ~ Some(exp) => ODataQuery(uri, path,QueryOperations(exp)) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment