@Test public void multiline_comment() throws Exception { highlight(" "); assertHighlighting(1, 0, 1, COMMENT); assertHighlighting(2, 0, 6, COMMENT); assertHighlighting(3, 0, 1, COMMENT); assertHighlighting(3, 2, 2, null); }
private void highlight(InputFileContext ctx, TextRange range, TypeOfText typeOfText) { newHighlighting.highlight(ctx.textRange(range), typeOfText); }
SyntaxHighlighter extends TreeVisitor<InputFileContext> { private void highlight(InputFileContext ctx, TextRange range, TypeOfText typeOfText) { newHighlighting.highlight(ctx.textRange(range), typeOfText); } }
SyntaxHighlighter extends TreeVisitor<InputFileContext> { private void highlight(InputFileContext ctx, TextRange range, TypeOfText typeOfText) { newHighlighting.highlight(ctx.textRange(range), typeOfText); } SyntaxHighlighter(); }
SyntaxHighlighter extends TreeVisitor<InputFileContext> { private void highlight(InputFileContext ctx, TextRange range, TypeOfText typeOfText) { newHighlighting.highlight(ctx.textRange(range), typeOfText); } SyntaxHighlighter();  }
SyntaxHighlighter extends TreeVisitor<InputFileContext> { private void highlight(InputFileContext ctx, TextRange range, TypeOfText typeOfText) { newHighlighting.highlight(ctx.textRange(range), typeOfText); } SyntaxHighlighter();   }