Package jodd.jerry
Interface JerryFunction
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface JerryFunctionCallback function for iterating nodes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.BooleanonNode(Jerry node, int index)Invoked on node.
-
-
-
Method Detail
-
onNode
java.lang.Boolean onNode(Jerry node, int index)
Invoked on node. Returnstrueornullto continue looping. The reason why it returns aBooleanis because when Jerry is used in Nashorn, when javascript method returns nothing it means it's not false.
-
-