Lines Matching refs:expr
750 // with the value and the collection expr
786 // with the value and the collection expr
859 * @param expr the expression to be checked
862 private boolean isStringExpr(EJBQLAST expr)
864 Object exprType = expr.getTypeInfo();
870 // expr must have the type String
872 ErrorMsg.error(expr.getLine(), expr.getColumn(),
885 * @param expr the expression to be checked
889 private boolean isIntExpr(EJBQLAST expr)
891 Object exprType = expr.getTypeInfo();
897 // expr must have the type int or Integer
899 ErrorMsg.error(expr.getLine(), expr.getColumn(),
912 * @param expr the expression to be checked
916 private boolean isDoubleExpr(EJBQLAST expr)
918 Object exprType = expr.getTypeInfo();
924 // expr must have the type double or Double
926 ErrorMsg.error(expr.getLine(), expr.getColumn(),
939 * @param expr the expression to be checked
942 private boolean isNumberExpr(EJBQLAST expr)
944 Object exprType = expr.getTypeInfo();
950 // expr must have a number type
952 ErrorMsg.error(expr.getLine(), expr.getColumn(),
965 * @param expr the expression to be checked
969 private boolean isNumberOrStringExpr(EJBQLAST expr)
971 Object exprType = expr.getTypeInfo();
977 // expr must have a number type
980 ErrorMsg.error(expr.getLine(), expr.getColumn(),
1296 : expr:cmpPathExpression ( ASC | DESC )
1299 Object typeInfo = #expr.getTypeInfo();
1301 ErrorMsg.error(#expr.getLine(), #expr.getColumn(),
1580 : #( op:ABS expr:expression )
1582 #op.setTypeInfo(isNumberExpr(#expr) ?
1583 #expr.getTypeInfo() : typeSupport.errorType);
1588 : #( op:SQRT expr:expression )
1590 #op.setTypeInfo(isDoubleExpr(#expr) ?
1591 #expr.getTypeInfo() : typeSupport.errorType);