@Test public void noParameterMethods() throws Exception { parseMethod(TokenKind.NowMethod); parseMethod(TokenKind.MaxdatetimeMethod); parseMethod(TokenKind.MindatetimeMethod); wrongExpression("now(1)"); }
private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); }
ExpressionParser { private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); } }
ExpressionParser { private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); } ExpressionParser(final Edm edm, final OData odata); }
ExpressionParser { private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); } ExpressionParser(final Edm edm, final OData odata); Expression parse(UriTokenizer tokenizer, final EdmType referringType,
      final Collection<String> crossjoinEntitySetNames, final Map<String, AliasQueryOption> aliases); }
ExpressionParser { private Expression parseMethod(final TokenKind nextMethod) throws UriParserException, UriValidationException { final MethodKind methodKind = tokenToMethod.get(nextMethod); return new MethodImpl(methodKind, parseMethodParameters(methodKind)); } ExpressionParser(final Edm edm, final OData odata); Expression parse(UriTokenizer tokenizer, final EdmType referringType,
      final Collection<String> crossjoinEntitySetNames, final Map<String, AliasQueryOption> aliases);  }