@Test public void string_literal() throws Exception { highlight("x + \"abc\" + y;"); assertHighlighting(1, 3, null); assertHighlighting(4, 8, STRING); assertHighlighting(9, 9, 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();   }