Interface IAvailableStringLiteralServiceProvider
- 
 public interface IAvailableStringLiteralServiceProviderSpecial proposal provider forStringLiteralexpression in Bsl
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<org.eclipse.xtext.naming.QualifiedName>getExportedNames(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider)Gets all available 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 literalsbooleanisAppropriate(StringLiteral context)Checks context for availability of validationbooleanisAppropriate(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context)Check context for availability of validationbooleanisCorrectValue(String content, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context)Checks that content of theStringLiteralcorrect in this contextList<String>validate(StringLiteral context)ValidatesStringLiteral.
 
- 
- 
- 
Method Detail- 
isAppropriateboolean isAppropriate(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context) Check context for availability of validation- 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
 
- Returns:
- trueif validation available for this context
 
 - 
isAppropriateboolean isAppropriate(StringLiteral context) Checks context for availability of validation- Parameters:
- context- checking- StringLiteralfor availability of validation, can't be- null
- Returns:
- trueif validation is available for this context,- falseotherwise
 
 - 
isCorrectValueboolean isCorrectValue(String content, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context) Checks that content of theStringLiteralcorrect in this context- Parameters:
- content- content of the- StringLiteralwithout quote, can't be- null
- 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
 
- Returns:
- trueif content of the- StringLiteralcorrect in this context,- falseotherwise
 
 - 
validateList<String> validate(StringLiteral context) ValidatesStringLiteral. This method accumulates validation messages from all registered implementation ofIAvailableStringLiteralProvider- Parameters:
- context- validating- StringLiteral, can't be- null
- Returns:
- list of validation issue messages. This messages will be wrapped to the validation diagnostics, or empty list if StringLiteralcontent is correct for this context. Nevernull
 
 - 
getExportedNamesSet<org.eclipse.xtext.naming.QualifiedName> getExportedNames(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider) Gets all available 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 be- null
- Returns:
- found imported names, never null
 
 - 
getReferenceDescriptionsList<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 be- null
- Returns:
- reference descriptions or empty list if string literal doesn't provide anything reference descriptions, never null
 
 
- 
 
-