This file is indexed.

/usr/share/doc/libognl-java/LanguageGuide/lambdaExpressions.html is in libognl-java-doc 2.7.3-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Pseudo-Lambda Expressions</title><link href="../docbook.css" type="text/css" rel="stylesheet"><meta content="DocBook XSL Stylesheets V1.78.1" name="generator"><link rel="home" href="index.html" title="OGNL Language Guide"><link rel="up" href="basicExpressions.html" title="Chapter&nbsp;4.&nbsp;Expressions"><link rel="prev" href="expressionEvaluation.html" title="Expression Evaluation"><link rel="next" href="specialCollectionsProperties.html" title="Pseudo-Properties for Collections"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table summary="Navigation header" width="100%"><tr><th align="center" colspan="3">Pseudo-Lambda Expressions</th></tr><tr><td align="left" width="20%"><a accesskey="p" href="expressionEvaluation.html"><img src="../images/navigation/prev.gif" alt="Prev"></a>&nbsp;</td><th align="center" width="60%">Chapter&nbsp;4.&nbsp;Expressions</th><td align="right" width="20%">&nbsp;<a accesskey="n" href="specialCollectionsProperties.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="lambdaExpressions"></a>Pseudo-Lambda Expressions</h2></div></div></div><p><acronym class="acronym">OGNL</acronym> has a simplified lambda-expression syntax, which lets you write simple functions. It is not a full-blown lambda calculus, because there are no closures---all variables in <acronym class="acronym">OGNL</acronym> have global
            scope and extent.</p><p>For example, here is an <acronym class="acronym">OGNL</acronym> expression that declares a recursive factorial function, and then calls it:</p><pre class="programlisting">#fact = :[#this&lt;=1? 1 : #this*#fact(#this-1)], #fact(30H)</pre><p>The lambda expression is everything inside the brackets. The <span class="property">#this</span> variable holds the argument to the expression, which is initially <code class="constant">30H</code>, and is then one less for each successive call to the
            expression.</p><p><acronym class="acronym">OGNL</acronym> treats lambda expressions as constants. The value of a lambda expression is the <em class="glossterm">AST</em> that <acronym class="acronym">OGNL</acronym> uses as the parsed form of the contained expression.</p></div><div class="navfooter"><hr><table summary="Navigation footer" width="100%"><tr><td align="left" width="40%"><a accesskey="p" href="expressionEvaluation.html"><img src="../images/navigation/prev.gif" alt="Prev"></a>&nbsp;</td><td align="center" width="20%"><a accesskey="u" href="basicExpressions.html"><img src="../images/navigation/up.gif" alt="Up"></a></td><td align="right" width="40%">&nbsp;<a accesskey="n" href="specialCollectionsProperties.html"><img src="../images/navigation/next.gif" alt="Next"></a></td></tr><tr><td valign="top" align="left" width="40%">Expression Evaluation&nbsp;</td><td align="center" width="20%"><a accesskey="h" href="index.html"><img src="../images/navigation/home.gif" alt="Home"></a></td><td valign="top" align="right" width="40%">&nbsp;Pseudo-Properties for Collections</td></tr></table></div></body></html>