Package org.sonarsource.slang.impl
Class TreeMetaDataProvider
java.lang.Object
org.sonarsource.slang.impl.TreeMetaDataProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTreeMetaDataProvider(List<Comment> comments, List<Token> tokens) TreeMetaDataProvider(List<Comment> comments, List<Token> tokens, List<Annotation> annotations) -
Method Summary
Modifier and TypeMethodDescriptionfirstToken(TextRange textRange) intindexOfFirstToken(TextRange textRange) previousToken(TextRange textRange) previousToken(TextRange textRange, String expectedTokenValue) previousToken(TextRange textRange, Predicate<Token> expectedConditionToMatch) voidupdateTokenType(Token token, Token.Type newType)
-
Field Details
-
COMPARATOR
-
-
Constructor Details
-
TreeMetaDataProvider
-
TreeMetaDataProvider
-
-
Method Details
-
allComments
-
allTokens
-
indexOfFirstToken
-
firstToken
-
previousToken
-
previousToken
-
previousToken
-
updateTokenType
-
keyword
-
metaData
-