Class HighlightingFinder.Result
- java.lang.Object
-
- com.e1c.g5.v8.dt.bsl.ui.templates.preferences.coloring.HighlightingFinder.Result
-
- Enclosing class:
- HighlightingFinder
public static class HighlightingFinder.Result extends Object
This class represents structure that contains found regions for highlighting
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.eclipse.jface.text.IRegion>
getComments()
Gets comment regionsList<org.eclipse.jface.text.IRegion>
getKeywords()
Gets keyword regionsList<org.eclipse.jface.text.IRegion>
getStringLiterals()
Gets string literal regions
-
-
-
Constructor Detail
-
Result
public Result(List<org.eclipse.jface.text.IRegion> keywords, List<org.eclipse.jface.text.IRegion> stringLiterals, List<org.eclipse.jface.text.IRegion> comments)
Creates new instance of this with given parameters- Parameters:
keywords
- Found regions keywords, cannot benull
stringLiterals
- Found regions of string literals, cannot benull
comments
- Found regions of comments, cannot benull
-
-
Method Detail
-
getKeywords
public List<org.eclipse.jface.text.IRegion> getKeywords()
Gets keyword regions- Returns:
- Found keywords, cannot be
null
-
getStringLiterals
public List<org.eclipse.jface.text.IRegion> getStringLiterals()
Gets string literal regions- Returns:
- Found string literals, cannot be
null
-
getComments
public List<org.eclipse.jface.text.IRegion> getComments()
Gets comment regions- Returns:
- Found comments, cannot be
null
-
-