public class ApplyHandler extends AbstractHandler
The default action for most operators and functions is to build
an ASTOpNode/ASTFunNode from the function. Some functions require special behaviour
and these should extend SpecialFunctionHandler implementing the apply method.
| Constructor and Description |
|---|
ApplyHandler(Jep jep) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
handle(StackFrame frame,
org.xml.sax.Locator loc)
Returns a Node representing the operator or function applied to the arguments.
|
convertChildrenToNodes, convertToNode, getFt, getJep, getNf, getNumf, getOt, jepNodesAsArray, jepNodesToFlatArray, jepNodesToFlatListpublic ApplyHandler(Jep jep)
jep - public java.lang.Object handle(StackFrame frame, org.xml.sax.Locator loc) throws org.xml.sax.SAXParseException
frame - StackFrame representing the elementloc - location in inputorg.xml.sax.SAXParseExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep