summaryrefslogtreecommitdiff
path: root/runtime/queries/llvm-mir-yaml/injections.scm
blob: b3243022b4dde0c3c09c35925949eba3aa4bb51a (plain) (blame)
1
2
3
4
5
6
7
8
9
; inherits: yaml

((document (block_node (block_scalar) @injection.content))
 (#set! injection.language "llvm"))

((document (block_node (block_mapping (block_mapping_pair
  key: (flow_node (plain_scalar (string_scalar))) ; "body"
  value: (block_node (block_scalar) @injection.content)))))
  (#set! injection.language "mir"))