| 1 |
((comment) @injection.content |
| 2 |
(#set! injection.language "comment")) |
| 3 |
|
| 4 |
|
| 5 |
(block |
| 6 |
(identifier) @_target (#eq? @_target "target") |
| 7 |
(body |
| 8 |
(attribute |
| 9 |
(identifier) @_attr (#eq? @_attr "dockerfile-inline") |
| 10 |
(expression |
| 11 |
(template_expr |
| 12 |
(heredoc_template |
| 13 |
(template_literal) @injection.content))))) |
| 14 |
(#set! injection.language "dockerfile")) |
| 15 |
|
| 16 |
(function_call |
| 17 |
(identifier) @_name (#eq? @_name "regex") |
| 18 |
(function_arguments |
| 19 |
(expression |
| 20 |
(literal_value |
| 21 |
(string_lit |
| 22 |
(template_literal) @injection.content)))) |
| 23 |
(#set! injection.language "regex")) |