Interface IAvailableStringLiteralProviderExtension
- 
- All Superinterfaces:
- IAvailableStringLiteralProvider
 - All Known Subinterfaces:
- IAvailableStringLiteralProviderImportedNamesExtension,- IStringLiteralProposalProviderExtension
 - All Known Implementing Classes:
- AbstractStringLiteralProposalProvider,- GraphicalSchemeStringLiteralProposalProvider,- StringLiteralProposalProviderSetParameterValue,- StringLiteralProposalProviderValueToFormAttr
 
 public interface IAvailableStringLiteralProviderExtension extends IAvailableStringLiteralProvider Extension forIAvailableStringLiteralProviderwith special methods, that works with parsed context of usingStringLiteral
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAppropriate(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context)Checks context for availability of proposalsbooleanisCorrectValue(String content, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService)Checks that content of theStringLiteralcorrect in this context.- 
Methods inherited from interface com._1c.g5.v8.dt.bsl.validation.stringliterals.IAvailableStringLiteralProviderisAppropriate, validate
 
- 
 
- 
- 
- 
Method Detail- 
isAppropriateboolean isAppropriate(org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context) Checks context for availability of proposals- 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 proposals available for this context
 
 - 
isCorrectValueboolean isCorrectValue(String content, org.eclipse.xtext.util.Triple<org.eclipse.emf.ecore.EObject,List<Expression>,Integer> context, org.eclipse.xtext.scoping.IScopeProvider scopeProvider, IIndexSlicePredicateService slicePredicateService) Checks that content of theStringLiteralcorrect in this context. Checks onlyStringLiteralin one line.- 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
 - null
- scopeProvider- actual- IScopeProvider, can't be- null
- slicePredicateService- actual- IIndexSlicePredicateService, can't be- null
- Returns:
- trueif content of the- StringLiteralcorrect in this context,- falseotherwise
 
 
- 
 
-