public class ScopeFilter extends java.lang.Object implements VisitableFilter
| Modifier and Type | Field and Description |
|---|---|
private CompilerContext |
_compilerContext |
private int |
_minDepth |
private java.lang.String |
_scopeName |
| Constructor and Description |
|---|
ScopeFilter(CompilerContext compilerContext,
java.lang.String scopeName,
int minDepth)
Construct a filter for the given scope and minimal expected depth.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Visitable visitable)
Return true if the Visitable passes the filter.
|
private CompilerContext _compilerContext
private java.lang.String _scopeName
private int _minDepth
public ScopeFilter(CompilerContext compilerContext, java.lang.String scopeName, int minDepth)
public boolean accept(Visitable visitable) throws StandardException
VisitableFilteraccept in interface VisitableFilterStandardExceptionApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.