Class GetAttr.Definition
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.expressions.functions.GetAttr.Definition
- All Implemented Interfaces:
 FunctionDefinition
- Enclosing class:
 - GetAttr
 
A 
FunctionDefinition for the GetAttr function.- 
Method Summary
Modifier and TypeMethodDescriptioncreateFunction(FunctionNode functionNode) Creates aLibraryFunctionimplementation from the givenFunctionNode.Evaluate the arguments to a given function to compute a result.The arguments to this function.getId()The ID of this function.The return type of this function definition. 
- 
Method Details
- 
getId
Description copied from interface:FunctionDefinitionThe ID of this function.- Specified by:
 getIdin interfaceFunctionDefinition- Returns:
 - The ID string
 
 - 
getArguments
Description copied from interface:FunctionDefinitionThe arguments to this function.- Specified by:
 getArgumentsin interfaceFunctionDefinition- Returns:
 - The function arguments
 
 - 
getReturnType
Description copied from interface:FunctionDefinitionThe return type of this function definition.- Specified by:
 getReturnTypein interfaceFunctionDefinition- Returns:
 - The function return type
 
 - 
evaluate
Description copied from interface:FunctionDefinitionEvaluate the arguments to a given function to compute a result.- Specified by:
 evaluatein interfaceFunctionDefinition- Returns:
 - The resulting value
 
 - 
createFunction
Description copied from interface:FunctionDefinitionCreates aLibraryFunctionimplementation from the givenFunctionNode.- Specified by:
 createFunctionin interfaceFunctionDefinition- Parameters:
 functionNode- the function node to deserialize.- Returns:
 - the created LibraryFunction implementation.
 
 
 -