Class SyntaxHighlightingVisitor
- java.lang.Object
-
- org.sonar.iac.common.extension.visitors.TreeVisitor<InputFileContext>
-
- org.sonar.iac.common.extension.visitors.SyntaxHighlightingVisitor
-
- Direct Known Subclasses:
YamlHighlightingVisitor
public abstract class SyntaxHighlightingVisitor extends TreeVisitor<InputFileContext>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSyntaxHighlightingVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidafter(InputFileContext ctx, Tree root)protected voidbefore(InputFileContext ctx, Tree root)protected voidhighlight(HasTextRange range, org.sonar.api.batch.sensor.highlighting.TypeOfText typeOfText)protected abstract voidlanguageSpecificHighlighting()-
Methods inherited from class org.sonar.iac.common.extension.visitors.TreeVisitor
register, scan
-
-
-
-
Method Detail
-
languageSpecificHighlighting
protected abstract void languageSpecificHighlighting()
-
before
protected void before(InputFileContext ctx, Tree root)
- Overrides:
beforein classTreeVisitor<InputFileContext>
-
after
protected void after(InputFileContext ctx, Tree root)
- Overrides:
afterin classTreeVisitor<InputFileContext>
-
highlight
protected void highlight(HasTextRange range, org.sonar.api.batch.sensor.highlighting.TypeOfText typeOfText)
-
-