Class ErrorRule
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.rule.Rule
software.amazon.smithy.rulesengine.language.syntax.rule.ErrorRule
- All Implemented Interfaces:
FromSourceLocation,ToNode,TypeCheck
A rule-set rule that is used to indicate an error in evaluation.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
Rule.Builder -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(RuleValueVisitor<T> visitor) getError()toNode()Converts a value to aNode.toString()protected TypetypecheckValue(Scope<Type> scope) Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
builder, builder, equals, fromNode, getConditions, getDocumentation, getSourceLocation, hashCode, typeCheck
-
Constructor Details
-
ErrorRule
-
-
Method Details
-
accept
-
typecheckValue
- Specified by:
typecheckValuein classRule
-
toNode
Description copied from interface:ToNodeConverts a value to aNode. -
toString
-
getError
-