[Groovy] Class ScriptVariableAnalyzer.VariableVisitor
- org.codehaus.groovy.tools.shell.util.ScriptVariableAnalyzer.VariableVisitor
- All Implemented Interfaces and Traits:
- GroovyClassVisitor
@Deprecated static class ScriptVariableAnalyzer.VariableVisitor extends ClassCodeVisitorSupport implements GroovyClassVisitor
define a visitor that visits all variable expressions
Properties Summary
Type | Name and description |
---|---|
Set<String> |
bound |
Set<String> |
unbound |
Constructor Summary
Constructor and description |
---|
ScriptVariableAnalyzer.VariableVisitor
() |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected SourceUnit |
getSourceUnit() | |
void |
visitVariableExpression(VariableExpression expression) |
Inherited Methods Summary
Property Detail
Set<String> bound
Set<String> unbound
Constructor Detail
ScriptVariableAnalyzer.VariableVisitor()
Method Detail
@Override protected SourceUnit getSourceUnit()
@Override void visitVariableExpression(VariableExpression expression)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/tools/shell/util/ScriptVariableAnalyzer.VariableVisitor.html