else if (expr instanceof DotExpression) {
DotExpression theBase = (DotExpression) expr;
List<ExprChainedSpec> chain = mapChains(theBase.getChain(), mapContext);
if (chain.size() == 1) {
String name = chain.get(0).getName();
ExprDeclaredNodeImpl declared = ExprDeclaredHelper.getExistsDeclaredExpr(name, chain.get(0).getParameters(), mapContext.getExpressionDeclarations().values(), mapContext.getExprDeclaredService(), mapContext.getContextDescriptor());
if (declared != null) {
return declared;
}
ExprNodeScript script = ExprDeclaredHelper.getExistsScript(mapContext.getConfiguration().getEngineDefaults().getScripts().getDefaultDialect(),
name, chain.get(0).getParameters(), mapContext.getScripts().values(), mapContext.getExprDeclaredService());