Package com._1c.g5.v8.dt.bsl.common
Interface IStringLiteralTextProvider
- 
- All Known Implementing Classes:
- ConcatenationStringLiteralTextProvider,- DefaultStringLiteralTextProvider
 
 public interface IStringLiteralTextProviderInterface for getting text fromStringLiteralor concatenation ofStringLiterals
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.xtext.util.Pair<StringLiteral,Integer>getLocation(int offset)Gets correspondence between location in text returned bygetText()and location in concreteStringLiteralCollection<StringLiteral>getSourceStringLiterals()Gets all sources forgetText()StringLiteralsStringgetText()Gets text corresponding to theStringLiteralor concatenation ofStringLiterals
 
- 
- 
- 
Method Detail- 
getTextString getText() Gets text corresponding to theStringLiteralor concatenation ofStringLiterals- Returns:
- text corresponding to the StringLiteralor concatenation ofStringLiterals. This text should not have special Bsl language symbols as '|'. Nevernull
 
 - 
getLocationorg.eclipse.xtext.util.Pair<StringLiteral,Integer> getLocation(int offset) Gets correspondence between location in text returned bygetText()and location in concreteStringLiteral- Parameters:
- offset- offset in text returned by- getText()
- Returns:
- StringLiteraland offset in it corresponding to the offset in- getText(), can be- nullif offset is less zero or more or equals then- getText()length
 
 - 
getSourceStringLiteralsCollection<StringLiteral> getSourceStringLiterals() Gets all sources forgetText()StringLiterals- Returns:
- sources for getText(), collection nevernull, never empty, Collection can have more the oneStringLiteralif thisIStringLiteralTextProvidercorrespondence to the concatenation ofStringLiteral
 
 
- 
 
-