Package com.tonic.analysis.query.ast
Interface Scope
-
- All Known Implementing Classes:
AllScope,ClassScope,DuringScope,MethodScope
public interface ScopeQuery scope - limits which code locations to analyze.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <T> Taccept(ScopeVisitor<T> visitor)Dispatches to the visitor hook for this scope variant.default booleanisAll()
-
-
-
Method Detail
-
accept
<T> T accept(ScopeVisitor<T> visitor)
Dispatches to the visitor hook for this scope variant.- Type Parameters:
T- the visitor's result type- Parameters:
visitor- the visitor to dispatch to- Returns:
- whatever the visitor returns for this variant
-
isAll
default boolean isAll()
- Returns:
- true if the scope is unrestricted, which only
AllScopeis
-
-