VisitableFilter
public class ScopeFilter extends java.lang.Object implements VisitableFilter
Modifier and Type | Field | Description |
---|---|---|
private CompilerContext |
_compilerContext |
|
private int |
_minDepth |
|
private java.lang.String |
_scopeName |
Constructor | 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 | 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
VisitableFilter
accept
in interface VisitableFilter
StandardException
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.