public class LetBuilder extends Object
$let
expression.Modifier and Type | Method and Description |
---|---|
UnaryExpression |
in(Expression letExpression)
Creates the final
$let expression to evaluate. |
LetBuilder |
let(String name,
DocumentAssignable document)
Adds a variable to the
$let expression. |
LetBuilder |
let(String name,
Expression expression)
Adds a variable to the
$let expression. |
public UnaryExpression in(Expression letExpression)
$let
expression to evaluate.letExpression
- The expression to be evaluated with the variables within the
$let
expression.UnaryExpression
for the $let
.public LetBuilder let(String name, DocumentAssignable document)
$let
expression.name
- The name of the variable to set.document
- The document to set the variable to.public LetBuilder let(String name, Expression expression)
$let
expression.name
- The name of the variable to set.expression
- The expression to compute the value for the variable.Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.