[][src]Constant tree_sitter_javascript::INJECTION_QUERY

pub const INJECTION_QUERY: &'static str = "; Parse the contents of tagged template literals using\n; a language inferred from the tag.\n\n(call_expression\n  function: [\n    (identifier) @injection.language\n    (member_expression\n      property: (property_identifier) @injection.language)\n  ]\n  arguments: (template_string) @injection.content)\n\n; Parse regex syntax within regex literals\n\n((regex_pattern) @injection.content\n (#set! injection.language \"regex\"))\n\n ; Parse JSDoc annotations in comments\n\n((comment) @injection.content\n (#set! injection.language \"jsdoc\"))\n";

The syntax highlighting query for languages injected into this one.