Interface IAvailableStringLiteralProviderImportedNamesExtension
-
- All Superinterfaces:
IAvailableStringLiteralProvider
,IAvailableStringLiteralProviderExtension
- All Known Implementing Classes:
AbstractStringLiteralProposalProvider
,GraphicalSchemeStringLiteralProposalProvider
,StringLiteralProposalProviderSetParameterValue
,StringLiteralProposalProviderValueToFormAttr
public interface IAvailableStringLiteralProviderImportedNamesExtension extends IAvailableStringLiteralProviderExtension
Extension ofIAvailableStringLiteralProviderExtension
with special methods for extraction fromStringLiteral
values of- exported names of the Built-in module
- references description corresponding to the
StringLiteral
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<org.eclipse.xtext.naming.QualifiedName>
getExportedName(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Gets imported names provided by string literalsList<org.eclipse.xtext.resource.IReferenceDescription>
getReferenceDescriptions(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Gets reference descriptions by string literals-
Methods inherited from interface com._1c.g5.v8.dt.bsl.validation.stringliterals.IAvailableStringLiteralProvider
isAppropriate, validate
-
Methods inherited from interface com._1c.g5.v8.dt.bsl.validation.stringliterals.IAvailableStringLiteralProviderExtension
isAppropriate, isCorrectValue
-
-
-
-
Method Detail
-
getExportedName
Collection<org.eclipse.xtext.naming.QualifiedName> getExportedName(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Gets imported names provided by string literals- Parameters:
context
- contains- parentObject object contains string literal in its parameters
- allExpr all parameters of
parentObject
- paramNumber number of string literal in parameter method's list
actual
-IScopeProvider
, can't benull
- Returns:
- found imported names or empty collection if string literal doesn't provide anything imported names
-
getReferenceDescriptions
List<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)
Gets reference descriptions by string literals- Parameters:
context
- contains- parentObject object contains string literal in its parameters
- allExpr all parameters of
parentObject
- paramNumber number of string literal in parameter method's list
actual
-IScopeProvider
, can't benull
- Returns:
- reference descriptions or empty list if string literal doesn't provide anything reference descriptions, never
null
-
-