Class NoMatchRule
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.rule.Rule
software.amazon.smithy.rulesengine.language.syntax.rule.NoMatchRule
- All Implemented Interfaces:
FromSourceLocation
,ToNode
,TypeCheck
Sentinel rule for "no match" results.
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
Rule.Builder
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(RuleValueVisitor<T> visitor) Invoke theRuleValueVisitor
functions for this Rule.toString()
protected Type
typecheckValue
(Scope<Type> scope) protected void
withValueNode
(ObjectNode.Builder builder) Methods inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
builder, builder, equals, fromNode, getConditions, getDocumentation, getSourceLocation, hashCode, toNode, typeCheck, withConditions
-
Field Details
-
INSTANCE
-
-
Method Details
-
accept
Description copied from class:Rule
Invoke theRuleValueVisitor
functions for this Rule. -
typecheckValue
- Specified by:
typecheckValue
in classRule
-
withValueNode
- Specified by:
withValueNode
in classRule
-
toString
-