| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ClassNode | |
| private VariableScope | |
| private boolean | |
| private boolean | |
| private boolean | |
| private final boolean | |
| private final SourceUnit | |
| private final Deque |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| currentClass | back to summary |
|---|---|
| private ClassNode currentClass | |
| currentScope | back to summary |
|---|---|
| private VariableScope currentScope | |
| inClosure | back to summary |
|---|---|
| private boolean inClosure | |
| inConstructor | back to summary |
|---|---|
| private boolean inConstructor | |
| inSpecialConstructorCall | back to summary |
|---|---|
| private boolean inSpecialConstructorCall | |
| recurseInnerClasses | back to summary |
|---|---|
| private final boolean recurseInnerClasses | |
| source | back to summary |
|---|---|
| private final SourceUnit source | |
| stateStack | back to summary |
|---|---|
| private final Deque<VariableScopeVisitor. | |
| VariableScopeVisitor | back to summary |
|---|---|
| public VariableScopeVisitor(SourceUnit source, boolean recurseInnerClasses) | |
| VariableScopeVisitor | back to summary |
|---|---|
| public VariableScopeVisitor(SourceUnit source) | |
| checkFinalFieldAccess | back to summary |
|---|---|
| private void checkFinalFieldAccess(final Expression expression) | |
| checkPropertyOnExplicitThis | back to summary |
|---|---|
| private void checkPropertyOnExplicitThis(final PropertyExpression expression) A property on "this", like this.x is transformed to a direct field access, so we need to check the static context here. | |
| checkVariableContextAccess | back to summary |
|---|---|
| private void checkVariableContextAccess(final Variable variable, final Expression expression) | |
| declare | back to summary |
|---|---|
| private void declare(final VariableExpression variable) | |
| declare | back to summary |
|---|---|
| private void declare(final Variable variable, final ASTNode context) | |
| findClassMember | back to summary |
|---|---|
| private Variable findClassMember(final ClassNode node, final String name) | |
| findVariableDeclaration | back to summary |
|---|---|
| private Variable findVariableDeclaration(final String name) | |
| getSourceUnit | back to summary |
|---|---|
| protected SourceUnit getSourceUnit() Implements abstract org.
| |
| isAnonymous | back to summary |
|---|---|
| private static boolean isAnonymous(final ClassNode node) | |
| markClosureSharedVariables | back to summary |
|---|---|
| private void markClosureSharedVariables() | |
| popState | back to summary |
|---|---|
| private void popState() | |
| prepareVisit | back to summary |
|---|---|
| public void prepareVisit(final ClassNode node) Sets the current class node context. | |
| pushState | back to summary |
|---|---|
| private void pushState(final boolean isStatic) | |
| pushState | back to summary |
|---|---|
| private void pushState() | |
| visitBinaryExpression | back to summary |
|---|---|
| public void visitBinaryExpression(final BinaryExpression expression) Overrides org. Implements org.
| |
| visitBlockStatement | back to summary |
|---|---|
| public void visitBlockStatement(final BlockStatement statement) Overrides org. Implements org.
| |
| visitCatchStatement | back to summary |
|---|---|
| public void visitCatchStatement(final CatchStatement statement) Overrides org. Implements org.
| |
| visitClass | back to summary |
|---|---|
| public void visitClass(final ClassNode node) Overrides org. Implements org. Doc from org. Visit a ClassNode.
| |
| visitClosureExpression | back to summary |
|---|---|
| public void visitClosureExpression(final ClosureExpression expression) Overrides org. Implements org.
| |
| visitConstructorCallExpression | back to summary |
|---|---|
| public void visitConstructorCallExpression(final ConstructorCallExpression expression) Overrides org. Implements org.
| |
| visitConstructorOrMethod | back to summary |
|---|---|
| protected void visitConstructorOrMethod(final MethodNode node, final boolean isConstructor) Overrides org.
| |
| visitDeclarationExpression | back to summary |
|---|---|
| public void visitDeclarationExpression(final DeclarationExpression expression) Overrides org. Implements org.
| |
| visitField | back to summary |
|---|---|
| public void visitField(final FieldNode node) Overrides org. Implements org. Doc from org. Visit a FieldNode.
| |
| visitFieldExpression | back to summary |
|---|---|
| public void visitFieldExpression(final FieldExpression expression) Overrides org. Implements org.
| |
| visitForLoop | back to summary |
|---|---|
| public void visitForLoop(final ForStatement statement) Overrides org. Implements org.
| |
| visitIfElse | back to summary |
|---|---|
| public void visitIfElse(final IfStatement statement) Overrides org. Implements org.
| |
| visitMethodCallExpression | back to summary |
|---|---|
| public void visitMethodCallExpression(final MethodCallExpression expression) Overrides org. Implements org.
| |
| visitProperty | back to summary |
|---|---|
| public void visitProperty(final PropertyNode node) Overrides org. Implements org. Doc from org. Visit a PropertyNode.
| |
| visitPropertyExpression | back to summary |
|---|---|
| public void visitPropertyExpression(final PropertyExpression expression) Overrides org. Implements org.
| |
| visitVariableExpression | back to summary |
|---|---|
| public void visitVariableExpression(final VariableExpression expression) Overrides org. Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ClassNode | |
| pack-priv final boolean | |
| pack-priv final boolean | |
| pack-priv final VariableScope |
| Access | Constructor and Description |
|---|---|
| pack-priv | StateStackElement(final ClassNode currentClass, final VariableScope currentScope, final boolean inClosure, final boolean inConstructor)
|
| clazz | back to summary |
|---|---|
| pack-priv final ClassNode clazz | |
| inClosure | back to summary |
|---|---|
| pack-priv final boolean inClosure | |
| inConstructor | back to summary |
|---|---|
| pack-priv final boolean inConstructor | |
| scope | back to summary |
|---|---|
| pack-priv final VariableScope scope | |
| StateStackElement | back to summary |
|---|---|
| pack-priv StateStackElement(final ClassNode currentClass, final VariableScope currentScope, final boolean inClosure, final boolean inConstructor) | |