@Test public void phpdoc_comment() throws Exception { highlight("<?php "); checkOnRange(1, 8, 12, TypeOfText.STRUCTURED_COMMENT); }
public static void highlight(Tree tree, NewHighlighting highlighting) { SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting); visitor.scan(tree); }
SyntaxHighlighterVisitor extends PHPVisitorCheck { public static void highlight(Tree tree, NewHighlighting highlighting) { SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting); visitor.scan(tree); } }
SyntaxHighlighterVisitor extends PHPVisitorCheck { public static void highlight(Tree tree, NewHighlighting highlighting) { SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting); visitor.scan(tree); } private  SyntaxHighlighterVisitor(NewHighlighting highlighting); }
SyntaxHighlighterVisitor extends PHPVisitorCheck { public static void highlight(Tree tree, NewHighlighting highlighting) { SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting); visitor.scan(tree); } private  SyntaxHighlighterVisitor(NewHighlighting highlighting); static void highlight(Tree tree, NewHighlighting highlighting); @Override void visitToken(SyntaxToken token); @Override void visitTrivia(SyntaxTrivia trivia); @Override void visitExpandableStringLiteral(ExpandableStringLiteralTree tree); @Override void visitLiteral(LiteralTree tree); @Override void visitExpandableStringCharacters(ExpandableStringCharactersTree tree); }
SyntaxHighlighterVisitor extends PHPVisitorCheck { public static void highlight(Tree tree, NewHighlighting highlighting) { SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting); visitor.scan(tree); } private  SyntaxHighlighterVisitor(NewHighlighting highlighting); static void highlight(Tree tree, NewHighlighting highlighting); @Override void visitToken(SyntaxToken token); @Override void visitTrivia(SyntaxTrivia trivia); @Override void visitExpandableStringLiteral(ExpandableStringLiteralTree tree); @Override void visitLiteral(LiteralTree tree); @Override void visitExpandableStringCharacters(ExpandableStringCharactersTree tree);  }