Class ScopeFilter
java.lang.Object
org.apache.derby.iapi.sql.compile.ScopeFilter
- All Implemented Interfaces:
VisitableFilter
Filter which passes Visitables only if the compiler is inside
a named scope.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScopeFilter
(CompilerContext compilerContext, String scopeName, int minDepth) Construct a filter for the given scope and minimal expected depth. -
Method Summary
-
Field Details
-
_compilerContext
-
_scopeName
-
_minDepth
private int _minDepth
-
-
Constructor Details
-
ScopeFilter
Construct a filter for the given scope and minimal expected depth.
-
-
Method Details
-
accept
Description copied from interface:VisitableFilter
Return true if the Visitable passes the filter.- Specified by:
accept
in interfaceVisitableFilter
- Throws:
StandardException
-