org.apache.commons.jexl3.parser
Class ASTJexlLambda

java.lang.Object
  extended by org.apache.commons.jexl3.parser.SimpleNode
      extended by org.apache.commons.jexl3.parser.JexlNode
          extended by org.apache.commons.jexl3.parser.ASTJexlScript
              extended by org.apache.commons.jexl3.parser.ASTJexlLambda
All Implemented Interfaces:
Node

public final class ASTJexlLambda
extends ASTJexlScript

Lambda (function).


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.jexl3.parser.JexlNode
JexlNode.Constant<T>
 
Field Summary
 
Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode
id
 
Method Summary
 Scope.Frame createFrame(Scope.Frame frame, Object... values)
          Creates an array of arguments by copying values up to the number of parameters.
 boolean isTopLevel()
           
 
Methods inherited from class org.apache.commons.jexl3.parser.ASTJexlScript
createFrame, getArgCount, getLocalVariables, getParameters, getPragmas, getScope, getSymbols, isHoistedSymbol, jjtAccept, script, setScope, toExpression
 
Methods inherited from class org.apache.commons.jexl3.parser.JexlNode
clearCache, isConstant, isConstant, isLeftValue, jexlInfo, jjtSetFirstToken, jjtSetLastToken
 
Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isTopLevel

public boolean isTopLevel()
Returns:
true if outermost script.

createFrame

public Scope.Frame createFrame(Scope.Frame frame,
                               Object... values)
Creates an array of arguments by copying values up to the number of parameters.

Parameters:
frame - the calling frame
values - the argument values
Returns:
the arguments array


Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.