test_class.declarator: PARSER = PHPParserBuilder.createParser()
test_class.modifier: private static final
test_class.original_string: private static final ActionParser<Tree> PARSER = PHPParserBuilder.createParser();
test_class.type: ActionParser<Tree>
test_class.var_name: PARSER
test_class.declarator: file
test_class.modifier: private
test_class.original_string: private File file;
test_class.type: File
test_class.var_name: file
test_class.declarator: context
test_class.modifier: private
test_class.original_string: private SensorContextTester context;
test_class.type: SensorContextTester
test_class.var_name: context
test_class.declarator: tempFolder = new TemporaryFolder()
test_class.modifier: @Rule
    public
test_class.original_string: @Rule
    public TemporaryFolder tempFolder = new TemporaryFolder();
test_class.type: TemporaryFolder
test_class.var_name: tempFolder
test_class.declarator: fileSystem
test_class.modifier: private
test_class.original_string: private DefaultFileSystem fileSystem;
test_class.type: DefaultFileSystem
test_class.var_name: fileSystem
test_class.file: php-frontend/src/test/java/org/sonar/php/highlighter/SyntaxHighlighterVisitorTest.java
test_class.identifier: SyntaxHighlighterVisitorTest
test_case.body: @Test
    public void empty_input() throws Exception {
      highlight("<?php ");
  
      assertThat(context.highlightingTypeAt(componentKey(), 1, 0)).isEmpty();
    }
test_case.class_method_signature: SyntaxHighlighterVisitorTest.empty_input()
test_case.full_signature: @Test public void empty_input()
test_case.identifier: empty_input
test_case.invocations: highlight isEmpty assertThat highlightingTypeAt componentKey
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void empty_input()
focal_class.declarator: PHP_RESERVED_VARIABLES = ImmutableList.of(
      "__FUNCTION__",
      "__CLASS__",
      "__METHOD__",
      "__NAMESPACE__",
      "__DIR__",
      "__FILE__",
      "__LINE__",
      "$this")
focal_class.modifier: private static final
focal_class.original_string: private static final ImmutableList<String> PHP_RESERVED_VARIABLES = ImmutableList.of(
      "__FUNCTION__",
      "__CLASS__",
      "__METHOD__",
      "__NAMESPACE__",
      "__DIR__",
      "__FILE__",
      "__LINE__",
      "$this");
focal_class.type: ImmutableList<String>
focal_class.var_name: PHP_RESERVED_VARIABLES
focal_class.declarator: WORDS_TO_HIGHLIGHT = ImmutableList.<String>builder()
      .add(PHPKeyword.getKeywordValues())
      .addAll(PHP_RESERVED_VARIABLES).build()
focal_class.modifier: private static final
focal_class.original_string: private static final ImmutableList<String> WORDS_TO_HIGHLIGHT = ImmutableList.<String>builder()
      .add(PHPKeyword.getKeywordValues())
      .addAll(PHP_RESERVED_VARIABLES).build();
focal_class.type: ImmutableList<String>
focal_class.var_name: WORDS_TO_HIGHLIGHT
focal_class.declarator: highlighting
focal_class.modifier: private
focal_class.original_string: private NewHighlighting highlighting;
focal_class.type: NewHighlighting
focal_class.var_name: highlighting
focal_class.file: php-frontend/src/main/java/org/sonar/php/highlighter/SyntaxHighlighterVisitor.java
focal_class.identifier: SyntaxHighlighterVisitor
focal_class.class_method_signature: SyntaxHighlighterVisitor.SyntaxHighlighterVisitor(NewHighlighting highlighting)
focal_class.full_signature: private  SyntaxHighlighterVisitor(NewHighlighting highlighting)
focal_class.identifier: SyntaxHighlighterVisitor
focal_class.modifiers: private
focal_class.parameters: (NewHighlighting highlighting)
focal_class.signature:  SyntaxHighlighterVisitor(NewHighlighting highlighting)
focal_class.class_method_signature: SyntaxHighlighterVisitor.highlight(Tree tree, NewHighlighting highlighting)
focal_class.full_signature: public static void highlight(Tree tree, NewHighlighting highlighting)
focal_class.identifier: highlight
focal_class.modifiers: public static
focal_class.parameters: (Tree tree, NewHighlighting highlighting)
focal_class.return: void
focal_class.signature: void highlight(Tree tree, NewHighlighting highlighting)
focal_class.class_method_signature: SyntaxHighlighterVisitor.visitToken(SyntaxToken token)
focal_class.full_signature: @Override public void visitToken(SyntaxToken token)
focal_class.identifier: visitToken
focal_class.modifiers: @Override public
focal_class.parameters: (SyntaxToken token)
focal_class.return: void
focal_class.signature: void visitToken(SyntaxToken token)
focal_class.class_method_signature: SyntaxHighlighterVisitor.visitTrivia(SyntaxTrivia trivia)
focal_class.full_signature: @Override public void visitTrivia(SyntaxTrivia trivia)
focal_class.identifier: visitTrivia
focal_class.modifiers: @Override public
focal_class.parameters: (SyntaxTrivia trivia)
focal_class.return: void
focal_class.signature: void visitTrivia(SyntaxTrivia trivia)
focal_class.class_method_signature: SyntaxHighlighterVisitor.visitExpandableStringLiteral(ExpandableStringLiteralTree tree)
focal_class.full_signature: @Override public void visitExpandableStringLiteral(ExpandableStringLiteralTree tree)
focal_class.identifier: visitExpandableStringLiteral
focal_class.modifiers: @Override public
focal_class.parameters: (ExpandableStringLiteralTree tree)
focal_class.return: void
focal_class.signature: void visitExpandableStringLiteral(ExpandableStringLiteralTree tree)
focal_class.class_method_signature: SyntaxHighlighterVisitor.visitLiteral(LiteralTree tree)
focal_class.full_signature: @Override public void visitLiteral(LiteralTree tree)
focal_class.identifier: visitLiteral
focal_class.modifiers: @Override public
focal_class.parameters: (LiteralTree tree)
focal_class.return: void
focal_class.signature: void visitLiteral(LiteralTree tree)
focal_class.class_method_signature: SyntaxHighlighterVisitor.visitExpandableStringCharacters(ExpandableStringCharactersTree tree)
focal_class.full_signature: @Override public void visitExpandableStringCharacters(ExpandableStringCharactersTree tree)
focal_class.identifier: visitExpandableStringCharacters
focal_class.modifiers: @Override public
focal_class.parameters: (ExpandableStringCharactersTree tree)
focal_class.return: void
focal_class.signature: void visitExpandableStringCharacters(ExpandableStringCharactersTree tree)
focal_class.class_method_signature: SyntaxHighlighterVisitor.highlight(SyntaxToken token, TypeOfText typeOfText)
focal_class.full_signature: private void highlight(SyntaxToken token, TypeOfText typeOfText)
focal_class.identifier: highlight
focal_class.modifiers: private
focal_class.parameters: (SyntaxToken token, TypeOfText typeOfText)
focal_class.return: void
focal_class.signature: void highlight(SyntaxToken token, TypeOfText typeOfText)
focal_class.superclass: extends PHPVisitorCheck
focal_method.body: public static void highlight(Tree tree, NewHighlighting highlighting) {
      SyntaxHighlighterVisitor visitor = new SyntaxHighlighterVisitor(highlighting);
      visitor.scan(tree);
    }
focal_method.class_method_signature: SyntaxHighlighterVisitor.highlight(Tree tree, NewHighlighting highlighting)
focal_method.full_signature: public static void highlight(Tree tree, NewHighlighting highlighting)
focal_method.identifier: highlight
focal_method.invocations: scan
focal_method.modifiers: public static
focal_method.parameters: (Tree tree, NewHighlighting highlighting)
focal_method.return: void
focal_method.signature: void highlight(Tree tree, NewHighlighting highlighting)