Class ComputeScopeTree
java.lang.Object
software.amazon.awssdk.codegen.poet.rules2.WalkRuleExpressionVisitor
software.amazon.awssdk.codegen.poet.rules2.ComputeScopeTree
- All Implemented Interfaces:
RuleExpressionVisitor<Void>
Computes all the symbols, locals and params, used by each of the rules, either directly or transitively.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionresult()
Returns the root scope.Returns the mapping between rule id and scope.Methods inherited from class software.amazon.awssdk.codegen.poet.rules2.WalkRuleExpressionVisitor
visitBooleanAndExpression, visitBooleanNotExpression, visitEndpointExpression, visitErrorExpression, visitFunctionCallExpression, visitHeadersExpression, visitIndexedAccessExpression, visitListExpression, visitLiteralBooleanExpression, visitLiteralIntegerExpression, visitLiteralStringExpression, visitMemberAccessExpression, visitMethodCallExpression, visitPropertiesExpression, visitStringConcatExpression
-
Constructor Details
-
ComputeScopeTree
-
-
Method Details
-
result
Returns the root scope. -
scopesByName
Returns the mapping between rule id and scope. -
visitRuleSetExpression
- Specified by:
visitRuleSetExpression
in interfaceRuleExpressionVisitor<Void>
- Overrides:
visitRuleSetExpression
in classWalkRuleExpressionVisitor
-
visitVariableReferenceExpression
- Specified by:
visitVariableReferenceExpression
in interfaceRuleExpressionVisitor<Void>
- Overrides:
visitVariableReferenceExpression
in classWalkRuleExpressionVisitor
-
visitLetExpression
- Specified by:
visitLetExpression
in interfaceRuleExpressionVisitor<Void>
- Overrides:
visitLetExpression
in classWalkRuleExpressionVisitor
-