((declaration
  (property_name) @name) @subtree
  (#set! role variable)
  (#match? @name "^\\$")
)

((function_statement
  name: (identifier) @name
  (parameters) @arguments.target) @subtree
  (#set! role function)
  (#set! arguments.query "scss/arguments.scm")
)

((mixin_statement
  name: (identifier) @name
  (parameters)? @arguments.target) @subtree
  (#set! role method)
  (#set! arguments.query "scss/arguments.scm")
)
