Class FunctionRegistry
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.fn.FunctionRegistry
Collection of registered functions.
-
Method Summary
Modifier and TypeMethodDescriptionforNode
(FunctionNode node) Retrieves theLibraryFunction
for the givenFunctionNode
if registered.void
registerFunction
(FunctionDefinition definition)
-
Method Details
-
registerFunction
-
forNode
Retrieves theLibraryFunction
for the givenFunctionNode
if registered.- Parameters:
node
- the FunctionNode to retrieve the function for.- Returns:
- the optional function.
-