Class TreeRule
java.lang.Object
software.amazon.smithy.rulesengine.language.syntax.rule.Rule
software.amazon.smithy.rulesengine.language.syntax.rule.TreeRule
- All Implemented Interfaces:
 FromSourceLocation,ToNode,TypeCheck
A rule-set rule that is used to contain condition based branching rules.
- 
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.Rule
Rule.Builder - 
Field Summary
 - 
Method Summary
Modifier and TypeMethodDescription<T> Taccept(RuleValueVisitor<T> visitor) Invoke theRuleValueVisitorfunctions for this Rule.getRules()Gets the rules contained within this tree.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, toNode, typeCheck 
- 
Method Details
- 
getRules
Gets the rules contained within this tree.- Returns:
 - the rules within this tree.
 
 - 
accept
Description copied from class:RuleInvoke theRuleValueVisitorfunctions for this Rule. - 
typecheckValue
- Specified by:
 typecheckValuein classRule
 - 
toString
 
 -