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 SummaryNested classes/interfaces inherited from class software.amazon.smithy.rulesengine.language.syntax.rule.RuleRule.Builder
- 
Field Summary
- 
Method SummaryModifier 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.Rulebuilder, builder, equals, fromNode, getConditions, getDocumentation, getSourceLocation, hashCode, toNode, typeCheck
- 
Method Details- 
getRulesGets the rules contained within this tree.- Returns:
- the rules within this tree.
 
- 
acceptDescription copied from class:RuleInvoke theRuleValueVisitorfunctions for this Rule.
- 
typecheckValue- Specified by:
- typecheckValuein class- Rule
 
- 
toString
 
-