[Groovy] Class VariableVisitor
- org.codehaus.groovy.tools.shell.util.ScriptVariableAnalyzer.VariableVisitor
- All Implemented Interfaces and Traits:
- GroovyClassVisitor
static class ScriptVariableAnalyzer.VariableVisitor extends ClassCodeVisitorSupport
define a visitor that visits all variable expressions
Properties Summary
Type | Name and description |
---|---|
Set<String> |
bound |
Set<String> |
unbound |
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
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/2.4.21/html/gapi/org/codehaus/groovy/tools/shell/util/ScriptVariableAnalyzer.VariableVisitor.html