| Package | Description |
|---|---|
| org.sonarsource.slang.api | |
| org.sonarsource.slang.impl |
| Modifier and Type | Method and Description |
|---|---|
TextRange |
Comment.contentRange() |
TextRange |
MatchCaseTree.rangeToHighlight() |
TextRange |
FunctionDeclarationTree.rangeToHighlight() |
TextRange |
TreeMetaData.textRange() |
default TextRange |
Tree.textRange() |
TextRange |
HasTextRange.textRange() |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
TextRange.isInside(TextRange other) |
| Modifier and Type | Class and Description |
|---|---|
class |
TextRangeImpl |
| Modifier and Type | Method and Description |
|---|---|
TextRange |
CommentImpl.contentRange() |
static TextRange |
TextRanges.merge(List<TextRange> ranges) |
static TextRange |
TextRanges.range(int startLine,
int startLineOffset,
int endLine,
int endLineOffset) |
TextRange |
MatchCaseTreeImpl.rangeToHighlight() |
TextRange |
FunctionDeclarationTreeImpl.rangeToHighlight() |
TextRange |
TokenImpl.textRange() |
TextRange |
CommentImpl.textRange() |
| Modifier and Type | Method and Description |
|---|---|
TreeMetaData |
TreeMetaDataProvider.metaData(TextRange textRange) |
| Modifier and Type | Method and Description |
|---|---|
static TextRange |
TextRanges.merge(List<TextRange> ranges) |
| Constructor and Description |
|---|
CommentImpl(String text,
String contentText,
TextRange range,
TextRange contentRange) |
TokenImpl(TextRange textRange,
String text,
Token.Type type) |
Copyright © 2009–2018 SonarSource. All rights reserved.