Class Not.Definition
- java.lang.Object
- 
- software.amazon.smithy.rulesengine.language.syntax.expressions.functions.Not.Definition
 
- 
- All Implemented Interfaces:
- FunctionDefinition
 - Enclosing class:
- Not
 
 public static final class Not.Definition extends java.lang.Object implements FunctionDefinition AFunctionDefinitionfor theNotfunction.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NotcreateFunction(FunctionNode functionNode)Creates aLibraryFunctionimplementation from the givenFunctionNode.Valueevaluate(java.util.List<Value> arguments)Evaluate the arguments to a given function to compute a result.java.util.List<Type>getArguments()The arguments to this function.java.lang.StringgetId()The ID of this function.TypegetReturnType()The return type of this function definition.
 
- 
- 
- 
Method Detail- 
getIdpublic java.lang.String getId() Description copied from interface:FunctionDefinitionThe ID of this function.- Specified by:
- getIdin interface- FunctionDefinition
- Returns:
- The ID string
 
 - 
getArgumentspublic java.util.List<Type> getArguments() Description copied from interface:FunctionDefinitionThe arguments to this function.- Specified by:
- getArgumentsin interface- FunctionDefinition
- Returns:
- The function arguments
 
 - 
getReturnTypepublic Type getReturnType() Description copied from interface:FunctionDefinitionThe return type of this function definition.- Specified by:
- getReturnTypein interface- FunctionDefinition
- Returns:
- The function return type
 
 - 
evaluatepublic Value evaluate(java.util.List<Value> arguments) Description copied from interface:FunctionDefinitionEvaluate the arguments to a given function to compute a result.- Specified by:
- evaluatein interface- FunctionDefinition
- Returns:
- The resulting value
 
 - 
createFunctionpublic Not createFunction(FunctionNode functionNode) Description copied from interface:FunctionDefinitionCreates aLibraryFunctionimplementation from the givenFunctionNode.- Specified by:
- createFunctionin interface- FunctionDefinition
- Parameters:
- functionNode- the function node to deserialize.
- Returns:
- the created LibraryFunction implementation.
 
 
- 
 
-