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 theLibraryFunctionfor the givenFunctionNodeif registered.voidregisterFunction(FunctionDefinition definition)
-
Method Details
-
registerFunction
-
forNode
Retrieves theLibraryFunctionfor the givenFunctionNodeif registered.- Parameters:
node- the FunctionNode to retrieve the function for.- Returns:
- the optional function.
-