Initializes the variable scopes for an AST.
Constructor and description |
---|
VariableScopeVisitor
(SourceUnit source, boolean recurseInnerClasses) |
VariableScopeVisitor
(SourceUnit source) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected SourceUnit |
getSourceUnit() |
|
void |
visitBinaryExpression(BinaryExpression expression) |
|
void |
visitBlockStatement(BlockStatement statement) |
|
void |
visitCatchStatement(CatchStatement statement) |
|
void |
visitClass(ClassNode node) |
|
void |
visitClosureExpression(ClosureExpression expression) |
|
void |
visitConstructorCallExpression(ConstructorCallExpression expression) |
|
protected void |
visitConstructorOrMethod(MethodNode node, boolean isConstructor) |
|
void |
visitDeclarationExpression(DeclarationExpression expression) |
|
void |
visitField(FieldNode node) |
|
void |
visitFieldExpression(FieldExpression expression) |
|
void |
visitForLoop(ForStatement statement) |
|
void |
visitIfElse(IfStatement statement) |
|
void |
visitMethodCallExpression(MethodCallExpression expression) |
|
void |
visitProperty(PropertyNode node) |
|
void |
visitPropertyExpression(PropertyExpression expression) |
|
void |
visitVariableExpression(VariableExpression expression) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.