Package com._1c.g5.v8.dt.ql.scoping
Interface IQlCachedScopeProvider
- All Known Implementing Classes:
QlCachedScopeProvider
public interface IQlCachedScopeProvider
Special provider for caching values of
This class provides only values of
IScope getting from QlScopeProvider. This class provides only values of
IScope depending from ql query text-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDbViewScope(IDtProject project, org.eclipse.xtext.scoping.IScope dbViewScope) voidclearDbViewScopes(IDtProject project) ClearDbViewElementscope for projectvoidclearScopes(String querySchemaText) Deletes all cached values ofIScopeby text ofQuerySchemaorg.eclipse.xtext.scoping.IScopegetDbViewScope(IDtProject project) org.eclipse.xtext.scoping.IScopevoidsetDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope
-
Method Details
-
clearDbViewScopes
ClearDbViewElementscope for project- Parameters:
project-IProjectfor clearing cached scope, can't benull
-
clearScopes
Deletes all cached values ofIScopeby text ofQuerySchema- Parameters:
querySchemaText- text ofQuerySchemafor deleting cachedIScope, can't benull
-
getScope
- Parameters:
querySchemaText- corresponding to theQuerySchema- the first key for caching scope, can't benulloperatorText- corresponding to theQuerySchemaOperator- the second key for caching scope, can't benull- Returns:
IScopeof the caching elements corresponding to the scope, can benullin case when there is no anything cached values
-
setDbViewScope
void setDbViewScope(String querySchemaText, String operatorText, org.eclipse.xtext.scoping.IScope scope) Sets new value ofIScope- Parameters:
querySchemaText- corresponding to theQuerySchema- the first key for caching scope, can't benulloperatorText- corresponding to theQuerySchemaOperator- the second key for caching scope, can't benullscope-IScopeof the caching elements corresponding to the scope, can't benull
-
addDbViewScope
- Parameters:
project- actual project, can't benulldbViewScope-IScopecorresponding to theDbViewElement, can't benull
-
getDbViewScope
- Parameters:
project- actualIProject, can't benull- Returns:
IScopecorresponding to theDbViewElementornullif scope wasn't cached for this project
-